Given:
Map<
String, String> sortedMap = new TreeMap<String, String>();
sortedMap =
A, A.JPEG
B, B.JPEG
C, C.JPEG
D, D.JPEG
To display the sortedMap in descending order, I did:
What are the alternative to achieve the same thing instead of using loop DESCENDINGLY as I did?
1M Thanks.