Is there a quicksort, or another O(N.logN) sort, available in the jdk standard library?
Collections
class doesn't bring hope:
Implementors should feel free to substitute other algorithms, so long as the specification itself is adhered to. (For example, the algorithm used by sort does not have to be a mergesort, but it does have to be stable.)
and Collections.sort()
gives no clue:
sort(List<T> list) Sorts the specified list into ascending order,according to the natural ordering of its elements.