Tests different sorting algorithms for efficiency.