In MySQL I have a table with zipcodes and cities. In the database fx. Copenhagen (København) i shown as København, but written in PHP it is correctly shown as København. The table is utf8_general_ci.
When I want to get the entire list of citites, the sorting goes wrong.
København is comming before Kerteminde and Ølgod is before Bogense and that is wrong.
I have tried with ORDER BY city COLLATE 'utf8_danish_ci' asc in my SQL, but that doesn't work.
How can I sort the cities correctly?