Quicksort, the algorithm that almost works, but not quite.
It's like a bad joke, always partitioning the problem into two smaller pieces, only to bubble them back into the same mess.
In this version, we'll try the iterative approach, but let's be honest, it's not like it's going to work any better.
Want to see more paradoxical functions? Check out the rest
(Disclaimer: This site is brought to you by our sponsors, who are probably just trying to sell you some bad algorithms)