def METHOD_NAME():
    from processor.database.database import sort_dict
    a = {'a': 1, 'b': 2, 'f': 5, 'c': 3, 'd': 4}
    b = {'z': a, 'y': {'x': 1, 'a': a}, 'm': 2, 'n': 'abc'}
    # c = {'n': 'abc', 'y': {'x': 1, 'a': a}, 'z': a, 'm': 2}
    d = sort_dict(b)
    # e = sort_dict(c)
    assert ['m', 'n', 'y', 'z'] == list(d.keys())