T
Tom Anderson
Arrays.sort() will use quicksort for integral types.
For all primitive types, in fact, including doubles. Although i note it
won't sort booleans (for shame!).
I should not have said "Java's standard sort"; i should have said "Java's
standard sort for Lists", or "Collections' standard sort". Since the OP
has a List and doesn't want to use an array, the behaviour of Arrays.sort
is not terribly important - unless the OP wants to get clever and wrap an
array of primitive doubles in a List interface, as has been suggested.
tom