Added several sorting algorithms for profiling.