, , , , :
ORDER BY SUBSTRING(name, 1, 1),
BINARY SUBSTRING(name, 1, 1),
name
, , - , , , :
- ( MySql
Č C ) - Then ordering by the binary value of the starting character, which will distinguish
ČandC - It is then sorted by the full name, which will - in essence - be ordered by the rest of the string.
This will be uncontrollable after the first character, but that is not a problem.
source
share