Add some internal sorting algorithms.