code: def check(self):  # pragma: no cover
          
          for unsorted in iter(self[i] for i in range(len(self) - 2) if not operator.le(self[i], self[i + 1])):
              self.resort(unsorted)
docs: re-sort any items in self that are not sorted