pointqueue with quicksort