I have an issue with sorting a select from MySQL. I have some names with starts with "A", "Á", "Z" and "Ž" to show a few. The strange thing is, that "A" and "Á" are sorted like the same letter instead of the separate letters. Which means that it may come out like this:
- Aak
- Adv
- Ága
- Agg
- Ahm
I know Á is a subletter to A, but I want it to be grouped, so all A's come first and then the Á. The collation on the field is utf8mb4_unicode_ci.
What am I doing wrong?
Update
If Á is taken for the same letter as A, then the sort is okay, as it looks at the next letter and so on. But I want Á to be separated from A, so it will sort like this instead:
- Aak
- Adv
- Agg
- Ahm
- Ága