Devise an algorithm to sort playing cards. The rules are as follows:
- The cards start face down on the table.
- The instructions must be for only one person.
- The person moving the cards can only have one card in each
hand at any point (i.e. s/he can only look at the values of two cards).
- The instructions cannot require that the person remember the
value of a card once they put it down. You can, however, use the space
on the table however you like.