def sort_list_of_dicts_by_first_key(dicts: List[Dict]) -> List[Dict]:
    'Sorts a list of dictionaries by their first key.'
    return sorted(dicts, key=(lambda d: list(d.keys())[0]))
Sorts a list of dictionaries by their first key.
def sort_list_of_dicts_by_first_key(dicts: List[Dict]) -> List[Dict]:
    
    return sorted(dicts, key=(lambda d: list(d.keys())[0]))