Title: numerical sort
Last modified: August 21, 2016

---

# numerical sort

 *  Resolved [rodage](https://wordpress.org/support/users/rodage/)
 * (@rodage)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/numerical-sort/)
 * Hello
 * I have seen in a closed post from over a year ago that somebody else raised the
   question, it should have been resolved with an update but it doesn’t seem to 
   work for me:
 * I am trying to sort a list by a field that contains numerical values. The sorting
   however treats the numbers as text and so the sort gets somehow mixed up (e.g.
   49, 5, 50).
 * Should this be working by now or can I use a manual workaround (e.g. CAST?) Are
   there any other suggestions to solve this? As I am entertaining a database of
   mileage values the sorting issue is critical for my application…
 * Thanks a million for your advice!
    Best regards, Remi (www.milecircle.com)
 * PS hope you got the tip 😉
 * [http://wordpress.org/extend/plugins/participants-database/](http://wordpress.org/extend/plugins/participants-database/)

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

 *  Plugin Author [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/numerical-sort/#post-3881276)
 * Check the [other notes page](http://wordpress.org/plugins/participants-database/other_notes/)
   under “Numeric Sort” for your answer.
 *  Thread Starter [rodage](https://wordpress.org/support/users/rodage/)
 * (@rodage)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/numerical-sort/#post-3881280)
 * Great Stuff – exactly what I was looking for. Works like a charm. Sorry for having
   bothered you. Another donation to follow!
    Thanks for your time. Best regards,
   Remi.
 *  Plugin Author [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/numerical-sort/#post-3881287)
 * Yes, got it, thank you, it’s very much appreciated!

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

The topic ‘numerical sort’ is closed to new replies.

 * ![](https://ps.w.org/participants-database/assets/icon-256x256.jpg?rev=1389807)
 * [Participants Database](https://wordpress.org/plugins/participants-database/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/participants-database/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/participants-database/)
 * [Active Topics](https://wordpress.org/support/plugin/participants-database/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/participants-database/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/participants-database/reviews/)

## Tags

 * [numerical](https://wordpress.org/support/topic-tag/numerical/)
 * [sort](https://wordpress.org/support/topic-tag/sort/)

 * 3 replies
 * 2 participants
 * Last reply from: [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/numerical-sort/#post-3881287)
 * Status: resolved