Suppose I want to have a list of item as below
arr["john"] = 40
arr["mark"] = 12
arr["clark"] = 53
arr["sam"] = 23
Now I want to sort them depending on the values as below
arr["clark"] = 53
arr["john"] = 40
arr["sam"] = 23
arr["mark"] = 12
How can I do this?