in reply to sort != sort
Another thing to consider is that you may have gotten some odd invisible characters typed in there. Try turning on the "view all characters" option in your editor and/or retype the section fresh.
Now, this has been asked elsewhere in the thread, but not yet clearly provided as far as I can see, so:
What minimalistic block of code do we need to run to reproduce your problem?
Cut out the database, cut out everything except:
|
|---|