nodes: 0, module; 1, function_definition; 2, function_name:sort_by_date_key; 3, parameters; 4, block; 5, identifier:data_item; 6, expression_statement; 7, return_statement; 8, comment:""" A sort key to for the created field of a data item. The sort by uuid makes it determinate. """; 9, expression_list; 10, conditional_expression:data_item.title + str(data_item.uuid) if data_item.is_live else str(); 11, attribute; 12, call; 13, binary_operator:data_item.title + str(data_item.uuid); 14, attribute; 15, call; 16, identifier:data_item; 17, identifier:date_for_sorting; 18, identifier:str; 19, argument_list; 20, attribute; 21, call; 22, identifier:data_item; 23, identifier:is_live; 24, identifier:str; 25, argument_list; 26, attribute; 27, identifier:data_item; 28, identifier:title; 29, identifier:str; 30, argument_list; 31, identifier:data_item; 32, identifier:uuid; 33, attribute; 34, identifier:data_item; 35, identifier:uuid
code: def sort_by_date_key(data_item):
      """ A sort key to for the created field of a data item. The sort by uuid makes it determinate. """
      return data_item.title + str(data_item.uuid) if data_item.is_live else str(), data_item.date_for_sorting, str(data_item.uuid)