WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I got posts with titles are in utf8 encoding.

When I query posts with orderby is title, those with utf8 characters at the beginning are at the end.

Example: post title starts with Đ are at the end of the list.

Is there anyway I can make orderby order sorts Đright after D?

share|improve this question
What is the encoding on your database tables-- the collation? – s_ha_dum Jul 12 '13 at 5:48
it's utf8_general_ci – Tuan Anh Tran Jul 12 '13 at 10:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.