---- Version History: 1.1 1996-01-01 adds new address and phone number. 1.2 1996-01-01 puts HeapSort into a package. 1.3 1998-12-28 compatible with the JDK1.2 Comparator/Comparable interface. 1.4 1999-01-01 made TestHeapSort part of the standard package, added note on invoking it. 1.5 1999-01-01 uses the java.util.Comparator interface by default 1.6 2002-03-30 tidy code. 1.7 2008-01-01 add generics to Comparator -30-