Title: Sort Unicode Characters
Last modified: November 29, 2017

---

# Sort Unicode Characters

 *  Resolved [Gadasoft](https://wordpress.org/support/users/gadasoft/)
 * (@gadasoft)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/sort-unicode-characters/)
 * Im struggling to find a way to sort a column by Unicode Characters, ❌ ✅ in 
   this particular case. Any idea how / if it can be done ?
 * Thank you in advance !
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fsort-unicode-characters%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/sort-unicode-characters/#post-9736345)
 * Hi,
 * thanks for your question, and sorry for the trouble.
 * From what I can see, you have two options here. You could either develop a custom
   sorting algorithm for such characters, following [https://datatables.net/plug-ins/sorting/](https://datatables.net/plug-ins/sorting/)
   
   Or, you could try the approach of adding another hidden column that has a number
   for each character. Then, you can instruct the DataTables JS library to use that
   number in the hidden column for the sorting. That’s explained (for a similar 
   sorting problem) at [https://wordpress.org/support/topic/sorting-function-with-images/](https://wordpress.org/support/topic/sorting-function-with-images/)
   and [https://wordpress.org/support/topic/consolidating-columns-without-changing-sorting-options/](https://wordpress.org/support/topic/consolidating-columns-without-changing-sorting-options/)
 * Regards,
    Tobias
 *  Thread Starter [Gadasoft](https://wordpress.org/support/users/gadasoft/)
 * (@gadasoft)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/sort-unicode-characters/#post-9740417)
 * Thank you, got it working like that, unfortunately it seem to cause troubles 
   with the mobile layout, will look into it some other time. But you helped me 
   alot, thanks again !
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/sort-unicode-characters/#post-9740472)
 * Hi,
 * that would be strange… Which one is the hidden column?
 * Regards,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Sort Unicode Characters’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/sort-unicode-characters/#post-9740472)
 * Status: resolved