Here is the code:
max({1: "one", 2: "two", 3: "three"})
It returns 3.
I wonder what is the rule here? Function max() operates on a dictionary, how does the comparison work on a dictionary? So the item comparison is to compare their keys?
Where can I find the explanation in the language spec?