Pulled quicksort out of SortDescendingFitness function.