I want to sort the complete map in descending order, the stucture of the map is below
SortedMap<String, SortedMap<String, Long>>
I want to sort by the Long value of the inner SortedMap
. How can this be done?
Thank you.
EDIT: map changed to SortedMap
the Inner map will always contain a single value .