Movable Type: MTEntries sort_by="title" doesn't really work

Posted by kohei on Stack Overflow See other posts from Stack Overflow or by kohei
Published on 2010-05-19T00:20:19Z Indexed on 2010/05/19 0:30 UTC
Read the original article Hit count: 252

Filed under:

Hello

Im trying to sort <MTEntries> by title.

I know you can use <MTEntries sort_by="title" sort_order="ascend"> but this modifier some how prioritizes capitalized letters first to the sort. Im not sure if this is a glitch in the system but this modifier should sort by purely the alphabets(caps or no caps) used in the title.

Example:

I would like to sort these titles alphabetically:

  • APRICOT
  • Aligator
  • ABBEY
  • Apple

If <MTEntries sort_by="title" sort_order="ascend"> is used:

  • ABBEY
  • APRICOT
  • Aligator
  • Apple

But it really should be (and I want)

  • ABBEY
  • Aligator
  • Apple
  • APRICOT

Would someone know how to achive this?

© Stack Overflow or respective owner

Related posts about movabletype