Quick sort without optimizations