Java provides SortedMap and SortedSet interfaces and TreeMap and TreeSet as their implementation classes which we can use to sort Tree and Set respectively.
Why is there no SortedList kind of facility provided by Java?
I know using Collections.sort(), I can sort a List but not Set or Map..why is it so?
Any reason for the above two scenarios?