def stop_sequence(self):
    """Return the sorted StopTimes for this trip."""
    return sorted(
      self.stop_times(),
      key=lambda x:int(x.get('stop_sequence'))
    )
Return the sorted StopTimes for this trip.