If it returns a wrongly-sorted list (or you just want to keep playing), a link to "Try the next answer" will appear under the result.
You can view the code on GitHub. If you see any bugs (or just want to berate me), please file an issue.
Uh… it evals both user input and random code, unchecked, from an external site. This is what security-minded folks would refer to as Very Bad.
That being said, for what it is, it should be relatively harmless. The site will only fetch accepted answers, and it only uses answers that were posted before the xkcd was released (meaning that if someone posted malicious code now, it wouldn't matter). It also searches for potentially-malicious code (like the word "cookie"), and skips those. It's definitely not the safest thing, however at most it would probably just crash your browser.