I have a dictionary
var unsorted = { "Bob":500, "James": 200, "Alex":750 }
I want an to create a list that would be like this:
var sorted = [["Alex",750],["Bob",500],["James",200]]
The sorted list is in order from high to low based on the value of the dictionary.