how to sort a python dict by value,"res = list(sorted(theDict, key=theDict.__getitem__, reverse=True))"