https://www.cs.dartmouth.edu/~doug/
particulary the actively adversial anti-quicksort
https://www.cs.dartmouth.edu/~doug/source.html