Create a hierarchy from a dictionary of lists,"t = sorted(list(a.items()), key=lambda x: x[1])"