Sorting issue

1 year 1 month ago - 1 year 1 month ago #333204 by sirweb
Sorting issue was created by sirweb
I have an issue with Swedish characters ÅÄÖ not sorting properly.
In User lists, it sorts like this at  the moment:
AÅÄBCD... MNOÖPQ...
but it should be:
ABCD....MNOPQ....XYÅÄÖ

The database collation is utf8mb4_general_ci
I have checked all CB tables with CB Tools
Latest nightly build of CB
Joomla 3.10.11 

I´m out of ideas what to look for.
Any suggestions?

Please Log in to join the conversation.

1 year 1 month ago #333205 by krileon
Replied by krileon on topic Sorting issue
Sorting is entirely handled by SQL. We don't apply any PHP side sorting. So whatever behavior you experience is how SQL decides to sort something. You can adjust the ORDER BY clause of the query directly by using Advanced Sorting if you need to customize the query.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: sirweb

Please Log in to join the conversation.

1 year 1 month ago #333207 by sirweb
Replied by sirweb on topic Sorting issue
Ok, thanks.

I have tested to create an article list in Joomla Articles, and it also sorts wrong.
No idea why, this site has eworked correctly for years.

Obviously not CB related then.

Thanks.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.405 seconds