In Java there are the
SortedMap interfaces. Both belong to Java's standard Collections framework and provide a sorted way to access the elements.
However, in my understanding there is no
SortedList in Java. You can use
java.util.Collections.sort() to sort a list.
Any idea why it is designed like that?