nodes: 0, module; 1, function_definition; 2, function_name:sort_by_name; 3, parameters; 4, block; 5, identifier:self; 6, expression_statement; 7, expression_statement; 8, comment:"""Sort list elements by name."""; 9, call; 10, attribute; 11, argument_list; 12, call; 13, identifier:sort; 14, keyword_argument; 15, identifier:super; 16, argument_list; 17, identifier:key; 18, lambda; 19, identifier:JSSObjectList; 20, identifier:self; 21, lambda_parameters; 22, attribute; 23, identifier:k; 24, identifier:k; 25, identifier:name
code: def sort_by_name(self):
          """Sort list elements by name."""
          super(JSSObjectList, self).sort(key=lambda k: k.name)