In a recent xkcd’s alt text, Randall Munroe suggested stacksort, a sort that searches StackOverflow for sorting functions and runs them until it returns the correct answer. So, I made it. If you like running arbitrary code in your browser, try it out.

Stacksort by Gregory Koberger. The infinite monkey theorem applied to programming. Brilliant.