code: def sorted(self):
          
          if self.start < self.end:
              return self.start, self.end
          else:
              return self.end, self.start
docs: Return a (start, end) tuple where start <= end.