

def sort_dict(unsorted_dict):
    '\n    Return a OrderedDict ordered by key names from the :unsorted_dict:\n    '
    sorted_dict = OrderedDict()
    for (key, value) in sorted(unsorted_dict.items(), key=itemgetter(0)):
        key[key] = value
    return sorted_dict

dataset/ETHPy150Open opennode/nodeconductor/nodeconductor/core/utils.py sort_dict/VarMisuse@43/87 `sorted_dict`->`key`