parameters: (dictionary)
return_statement: return tuple(sorted(dictionary.items()))
docstring: Converts a dictionary to a tuple that can be used as an immutable key.
  
    The resulting key is always sorted so that logically equivalent dictionaries
    always produce an identical tuple for a key.
  
    Args:
      dictionary: the dictionary to use as the key.
  
    Returns:
      A tuple representing the dictionary in it's naturally sorted ordering.
docstring_summary: Converts a dictionary to a tuple that can be used as an immutable key.
docstring_tokens: Converts a dictionary to a tuple that can be used as an immutable key .
function: def dict_to_tuple_key(dictionary):
    """Converts a dictionary to a tuple that can be used as an immutable key.
  
    The resulting key is always sorted so that logically equivalent dictionaries
    always produce an identical tuple for a key.
  
    Args:
      dictionary: the dictionary to use as the key.
  
    Returns:
      A tuple representing the dictionary in it's naturally sorted ordering.
    """
    return tuple(sorted(dictionary.items()))
function_tokens: def dict_to_tuple_key ( dictionary ) : return tuple ( sorted ( dictionary . items ( ) ) )