Comment Comment by Dan42 I'm pretty sure the swapping is a fundamental part of the quicksort algorithm, not a mere implementation detail. That's the reason quicksort is an in-place algorithm. parent Dan42 1 year ago