import java.util.Arrays; import java.util.Comparator; /** * Sort using the built in sorter. * * @author Samuel A. Rebelsky */ public class BuiltinSorter implements Sorter { @Override public void sort(T[] vals, Comparator order) { Arrays.sort(vals, order); } // sort(T[], Comparator) } // BuiltInSorter