Quick Sort in Q