nodemap.py
def deep_sort(data):
    """ In-place sort of any lists in a nested dict/list datastructure. """
    if isinstance(data, list):
        data.sort()
        for item in data:
            deep_sort(item)
    elif isinstance(data, dict):
        for item in data.itervalues():
            deep_sort(item)
    return None
 In-place sort of any lists in a nested dict/list datastructure. 
In-place sort of any lists in a nested dict/list datastructure.
In - place sort of any lists in a nested dict / list datastructure .
def deep_sort(data):
    if isinstance(data, list):
        data.sort()
        for item in data:
            deep_sort(item)
    elif isinstance(data, dict):
        for item in data.itervalues():
            deep_sort(item)
    return None
def deep_sort ( data ) : if isinstance ( data , list ) : data . sort ( ) for item in data : deep_sort ( item ) elif isinstance ( data , dict ) : for item in data . itervalues ( ) : deep_sort ( item ) return None
In-place sort of any lists in a nested dict/list datastructure.
In - place sort of any lists in a nested dict / list datastructure .
""" In-place sort of any lists in a nested dict/list datastructure. """
data