A reference for sorting algorithms, all Python.