Thread:Knj00/@comment-24713723-20160829201753/@comment-4830404-20160830164055

I took a look at the code. Something about the wiki is making it so that the sort and duplicate check functions aren't working right. I took the exact code offline and it's working. My guess is something to do with the way global variables or functions are loaded on the wiki. I don't know offhand how that works, and as we know there are caching / delay issues for testing on the wiki (and it's bad practice to test live anyway but we probably don't have much choice). I'll keep looking into it, but I'm typing this here in case the person who helped to update the calculator has a better idea since they know how the wiki stuff works. My code is also embarassingly super old and I feel bad for them having to go in there and change all the global variables that I didn't name appropriately to make it easier to locate them.