<![CDATA[ Problem with getResources, order by and norwegian æ, ø, å - MODX Community Forums]]> https://forums.modx.com/thread/?thread=104365 <![CDATA[Problem with getResources, order by and norwegian æ, ø, å]]> https://forums.modx.com/thread/104365/problem-with-getresources-order-by-and-norwegian#dis-post-561361
[[!getResources? &parents=`[[*id]]` &tpl=`myRow` &limit=`0` &sortby=`{"pagetitle":"ASC"}` ]]


The problem is that the norwegian characters æ, ø, å is not sorted correctly (in the alphabet they come after Z: x, y, z, æ, ø, å).

As it is now the Ø is coming after the O and å is coming after a (instead of coming last).

I'm using MODx Cloud and the collation of the database is utf8_unicode_ci.

Thank you.]]>
rich Sep 04, 2018, 09:59 AM https://forums.modx.com/thread/104365/problem-with-getresources-order-by-and-norwegian#dis-post-561361
<![CDATA[Re: Problem with getResources, order by and norwegian æ, ø, å]]> https://forums.modx.com/thread/104365/problem-with-getresources-order-by-and-norwegian#dis-post-561362
[[!getResources? &parents=`[[*id]]` &tpl=`myRow` &limit=`0` &sortby=`{"binary pagetitle":"ASC"}` ]]
]]>
rich Sep 04, 2018, 12:16 PM https://forums.modx.com/thread/104365/problem-with-getresources-order-by-and-norwegian#dis-post-561362