String[] words = {"Fred","bob","Tom","Mark","john","Steve"};
sort them ignoring the case.
String[] words = {"Fred@cmu.edu","Bob@yahoo.com","Tom@gmail.com", "Mark@ucla.edu","John@pit.edu", "Steve@microsoft.com"};
sort them by company/institution names.