docs: def _tidy(self) -> None:
          """
          Removes overlaps, etc., and sorts.
          """
          if self.no_overlap:
              self.remove_overlap(self.no_contiguous)  # will sort
          else:
              self._sort()