Bacon Bits
Legend
Oh my God. You went to a help forum, posted code that looked nothing like any code that anyone using that language writes—taking about 20 lines to accomplish what most people could do in 1 line—and then screamed at people for saying it was very hard to read. And they were still trying to help you, anyway! Instead of reading what they wrote, you got nasty and kept posting arguing comments about it for literal hours. You responded to yourself when you scared others away!
Four different people spelled out very clearly what the problem with the code was. You just wouldn't shut up about the fact that "[your] code has worked flawlessly for five years and still works on 3 out of the 4 systems it's on!"
The system is not obligated to return results in a given order unless you tell it to do so. By complete accident, it was returning results in an order that happened to work for five years. That doesn't mean your code isn't wrong. It just means you only had it installed on four systems that happened to behave the same way, and then suddenly they don't. But, no, you've got too much ego to ever let someone question your perfect code.
Four different people spelled out very clearly what the problem with the code was. You just wouldn't shut up about the fact that "[your] code has worked flawlessly for five years and still works on 3 out of the 4 systems it's on!"
The system is not obligated to return results in a given order unless you tell it to do so. By complete accident, it was returning results in an order that happened to work for five years. That doesn't mean your code isn't wrong. It just means you only had it installed on four systems that happened to behave the same way, and then suddenly they don't. But, no, you've got too much ego to ever let someone question your perfect code.