<Test the sorting algorithms>=
  public static void main(String[] args) {
    Sort sort = new Sort();
    <Test mergeSort()>
    <Test quickSort()>
  }

Right now we simply use the args of the main() routine as the words to order.

<Test mergeSort()>= (<-U)
  sort.mergeSort(args, 0, args.length-1);
  for (int i = 0; i < args.length; i++) {
    System.out.println("MergeSort: words["+i+"] = "+args[i]);
  }

Now we'll do the same with quickSort().

<Test quickSort()>= (<-U)
  sort.quickSort(args, 0, args.length-1);
  for (int i = 0; i < args.length; i++) {
    System.out.println("QuickSort: words["+i+"] = "+args[i]);
  }