March 18, 2013
XKCD Inspired "StackSort"

Remember when I said that someone was going to implement the “StackSort” from that XKCD? Well, I was right. Here’s stacksort.

As outlined by xkcd’s recent alt text, this site downloads the top answers from StackOverflow for the tags “javascript” and “sort”. If grabs the last code block in the answer (in theory, the “final” example), and tries to determine which function should be called. It proceeds to eval the code from StackOverflow, with the inputted data as the first parameter for the function.

I love the internet.

Posted by Arcterex at March 18, 2013 04:13 PM