This is a pretty amazing use of StackOverflow.

Based on this XKCD comic.

stack sort

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.