nodes: 0, module; 1, function_definition; 2, function_name:sorted_by_field; 3, parameters; 4, block; 5, identifier:issues; 6, default_parameter; 7, default_parameter; 8, expression_statement; 9, return_statement; 10, identifier:field; 11, string; 12, identifier:reverse; 13, False; 14, comment:"""Return a list of issues sorted by closing date date."""; 15, call; 16, string_content:closed_at; 17, identifier:sorted; 18, argument_list; 19, identifier:issues; 20, keyword_argument; 21, keyword_argument; 22, identifier:key; 23, lambda; 24, identifier:reverse; 25, identifier:reverse; 26, lambda_parameters; 27, subscript; 28, identifier:i; 29, identifier:i; 30, identifier:field
code: def sorted_by_field(issues, field='closed_at', reverse=False):
      """Return a list of issues sorted by closing date date."""
      return sorted(issues, key = lambda i:i[field], reverse=reverse)