fixed quicksort to resolve failing test