nodes: 0, module; 1, function_definition; 2, function_name:stop_sequence; 3, parameters; 4, block; 5, identifier:self; 6, expression_statement; 7, return_statement; 8, comment:"""Return the sorted StopTimes for this trip."""; 9, call; 10, identifier:sorted; 11, argument_list; 12, call; 13, keyword_argument; 14, attribute; 15, argument_list; 16, identifier:key; 17, lambda; 18, identifier:self; 19, identifier:stop_times; 20, lambda_parameters; 21, call; 22, identifier:x; 23, identifier:int; 24, argument_list; 25, call; 26, attribute; 27, argument_list; 28, identifier:x; 29, identifier:get; 30, string; 31, string_content:stop_sequence
code: def stop_sequence(self):
      """Return the sorted StopTimes for this trip."""
      return sorted(
        self.stop_times(),
        key=lambda x:int(x.get('stop_sequence'))
      )