SELECT events.title
FROM events
ORDER BY events.title DESC
I’m getting the proper ordering for all but a couple events at the end of my table.
The encoding on the title table is utf8_general_ci. I’ve tried retyping the the title, hoping it was using some weird russian characters I couldn’t see, but it still appears in the wrong order.
Just a wild guess, but maybe some of your titles have some spaces at the beginning.
If that is your problem, you can use
But that will slow down your query because MySQL won’t be able to use the index on title if you have one.