def hash_map_key_sort_key(item):
    """
    Used to sort hash maps based on their key.
    
    Parameters
    ----------
    item : `tuple` (`str`, `Any`)
        An item of a hash map.
    
    Returns
    -------
    key : `str`
    """
    return item[0]