nodes: 0, module; 1, function_definition; 2, function_name:options; 3, parameters; 4, block; 5, identifier:cls; 6, expression_statement; 7, return_statement; 8, comment:"""Provide a sorted list of options."""; 9, call; 10, identifier:sorted; 11, generator_expression; 12, tuple; 13, for_in_clause; 14, if_clause; 15, identifier:value; 16, identifier:name; 17, tuple_pattern; 18, call; 19, not_operator; 20, identifier:name; 21, identifier:value; 22, attribute; 23, argument_list; 24, call; 25, attribute; 26, identifier:items; 27, attribute; 28, argument_list; 29, identifier:cls; 30, identifier:__dict__; 31, identifier:name; 32, identifier:startswith; 33, string; 34, string_content:__
code: def options(cls):
          """Provide a sorted list of options."""
          return sorted((value, name) for (name, value) in cls.__dict__.items() if not name.startswith('__'))