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