Java tutorial
import java.util.Arrays; import java.util.Collections; import java.util.List; public class Sort { public static void main(String args[]) { String[] strArray = new String[] { "Java", "Source", "And", "and", "Support", "java2s" }; List l = Arrays.asList(strArray); Collections.sort(l); System.out.println(l); } }