def __sort_default_dict(graph):
    """
    Sorts lists elements of defaultdict(list)
    Args:
        graph: defaultdict(list)

    Returns:
        Sorted list elements of defaultdict(list)
    """
    for x in graph:
        graph[x] = sorted(graph[x])
    return graph