make quicksort actually sort