Quick Sort Fix