nodes: 0, module; 1, function_definition; 2, function_name:_citation_sort_key; 3, parameters; 4, type; 5, block; 6, typed_parameter; 7, identifier:str; 8, expression_statement; 9, return_statement; 10, identifier:t; 11, type; 12, comment:"""Make a confusing 4 tuple sortable by citation."""; 13, call; 14, identifier:EdgeTuple; 15, attribute; 16, argument_list; 17, string:'"{}", "{}"'; 18, identifier:format; 19, subscript; 20, subscript; 21, subscript; 22, identifier:CITATION_TYPE; 23, subscript; 24, identifier:CITATION_REFERENCE; 25, subscript; 26, identifier:CITATION; 27, subscript; 28, identifier:CITATION; 29, identifier:t; 30, integer:3; 31, identifier:t; 32, integer:3
code: def _citation_sort_key(t: EdgeTuple) -> str:
      """Make a confusing 4 tuple sortable by citation."""
      return '"{}", "{}"'.format(t[3][CITATION][CITATION_TYPE], t[3][CITATION][CITATION_REFERENCE])