Wpis z mikrobloga

@quwer: Podałeś mega uproszczony opis, który pasuje tylko do wartości liczbowych. Co mówi javadoc?

Sorts the specified list into ascending order, according to the natural ordering of its elements. All elements in the list must implement the Comparable interface.


Więcej dowiesz się patrząc do String::compareTo.