nodes: 0, module; 1, function_definition; 2, function_name:get_sorted_pointlist; 3, parameters; 4, block; 5, identifier:self; 6, expression_statement; 7, expression_statement; 8, for_statement; 9, expression_statement; 10, return_statement; 11, comment:"""
          Make sure that the points and strokes are in order.
  
          Returns
          -------
          list
              A list of all strokes in the recording. Each stroke is represented
              as a list of dicts {'time': 123, 'x': 45, 'y': 67}
          """; 12, assignment; 13, identifier:i; 14, call; 15, block; 16, assignment; 17, identifier:pointlist; 18, identifier:pointlist; 19, call; 20, identifier:range; 21, argument_list; 22, expression_statement; 23, identifier:pointlist; 24, call; 25, attribute; 26, argument_list; 27, call; 28, assignment; 29, identifier:sorted; 30, argument_list; 31, identifier:self; 32, identifier:get_pointlist; 33, identifier:len; 34, argument_list; 35, subscript; 36, call; 37, identifier:pointlist; 38, keyword_argument; 39, identifier:pointlist; 40, identifier:pointlist; 41, identifier:i; 42, identifier:sorted; 43, argument_list; 44, identifier:key; 45, lambda; 46, subscript; 47, keyword_argument; 48, lambda_parameters; 49, subscript; 50, identifier:pointlist; 51, identifier:i; 52, identifier:key; 53, lambda; 54, identifier:stroke; 55, subscript; 56, string; 57, lambda_parameters; 58, subscript; 59, identifier:stroke; 60, integer:0; 61, string_content:time; 62, identifier:p; 63, identifier:p; 64, string; 65, string_content:time
code: def get_sorted_pointlist(self):
          """
          Make sure that the points and strokes are in order.
  
          Returns
          -------
          list
              A list of all strokes in the recording. Each stroke is represented
              as a list of dicts {'time': 123, 'x': 45, 'y': 67}
          """
          pointlist = self.get_pointlist()
          for i in range(len(pointlist)):
              pointlist[i] = sorted(pointlist[i], key=lambda p: p['time'])
          pointlist = sorted(pointlist, key=lambda stroke: stroke[0]['time'])
          return pointlist