To demonstrate the use of java.util.Comparator.