Partition around a pivot, then recurse.
This simulation needs JavaScript. Please enable it to run the animation.