nodes: 0, module; 1, function_definition; 2, function_name:sort_data; 3, parameters; 4, block; 5, identifier:x; 6, identifier:y; 7, expression_statement; 8, expression_statement; 9, expression_statement; 10, return_statement; 11, comment:"""Sort the data."""; 12, assignment; 13, assignment; 14, expression_list; 15, identifier:xy; 16, call; 17, pattern_list; 18, call; 19, identifier:x; 20, identifier:y; 21, identifier:sorted; 22, argument_list; 23, identifier:x; 24, identifier:y; 25, identifier:zip; 26, argument_list; 27, call; 28, list_splat; 29, identifier:zip; 30, argument_list; 31, identifier:xy; 32, identifier:x; 33, identifier:y
code: def sort_data(x, y):
      """Sort the data."""
      xy = sorted(zip(x, y))
      x, y = zip(*xy)
      return x, y