Skip Navigation

[Resolved] Sorting by letters and numbers – put together in groups

This thread is resolved. Here is a description of the problem and solution.

Problem:

A user asked how to show the list of posts from a post view, grouped by the starting letter or number.

Solution:

Shared the steps to create a post view that also uses custom CSS and JS code for this grouping.

Relevant Documentation:

n/a

100% of people find this useful.

This support ticket is created 2 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 16 replies, has 2 voices.

Last updated by kristenM 2 years ago.

Assisted by: Waqar.

Author
Posts
#2329541

Waqar
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

I've performed some research and this ordering of Danish characters is related to WordPress and database collation type.

You'll need to change the database collation type to "utf8_danish_ci", as it worked for another client, having the same challenge:
https://toolset.com/forums/topic/filter-order-by-name/

Note: Please make a complete backup copy of the website, before making any changes to the database.

Here are some useful guides on the topic:
https://codex.wordpress.org/Converting_Database_Character_Sets
https://wordpress.org/support/article/editing-wp-config-php/#database-character-set

#2329701

My issue is resolved now. Thank you!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.