nodes: 0, module; 1, function_definition; 2, function_name:_dict_values_sorted_by_key; 3, parameters; 4, comment:# This should be a yield from instead.; 5, block; 6, identifier:dictionary; 7, expression_statement; 8, for_statement; 9, comment:"""Internal helper to return the values of a dictionary, sorted by key.
      """; 10, pattern_list; 11, call; 12, block; 13, identifier:_; 14, identifier:value; 15, identifier:sorted; 16, argument_list; 17, expression_statement; 18, call; 19, keyword_argument; 20, yield; 21, attribute; 22, argument_list; 23, identifier:key; 24, call; 25, identifier:value; 26, identifier:dictionary; 27, identifier:iteritems; 28, attribute; 29, argument_list; 30, identifier:operator; 31, identifier:itemgetter; 32, integer:0
code: def _dict_values_sorted_by_key(dictionary):
      # This should be a yield from instead.
      """Internal helper to return the values of a dictionary, sorted by key.
      """
      for _, value in sorted(dictionary.iteritems(), key=operator.itemgetter(0)):
          yield value