I was trying to use a TreeMap to put values into that. I wonder how
such a map is sorted. How do I get the keys in a sorted manner? All I
found was to query a key set, but that isn't sorted. Is there any
(failry easy) way to achieve the above?