The merge sort algorithm can be described recursively in terms of two similar problems that each work on half of the cards.

To Merge Sort n Cards:

  1. If n=1, the cards are in order, so quit

  2. Otherwise: