Compares Quicksort and Mergesort algorithms