Sorting algorithms as I learn