Algo-rythmics

Here’s what happens under the hood when you ask R to sort your data.

There are also versions for quicksort, merge-sort, insert-sort, select-sort, and bubble-sort. See here.