by kirupa | 14 December 2014
A fun sorting algorithm is insertion sort. Have you ever played cards and needed to sort the cards in your hand?
This is a companion discussion topic for the original entry at http://www.kirupa.com/sorts/insertionsort.htm