sorting a dictionary in descending order of (i) keys (ii) Values [IN PYTHON] : I have a dictionary:
{1: 6, 2: 4, 3: 7}

If I want to sort in in descending order of VALUES, I use:
for w in sorted(dict_test, key=dict_test.get, reverse=True):
        print (w, dict_test[w])

What should I do for descending order of KEYS?