How do I do a case-sensitive sort in a language-insensitive manner?
Created May 4, 2012
John Zukowski If you have an array of primitives or an array of equivalent objects that implement the Comparable interface, all you need to do is call the sort() method of the java.util.Arrays class. If the class doesn't implement Comparable, you need to provide your own Comparator implementation to the sort() method.