Title: Sorting does not work for numbers.
Last modified: August 15, 2020

---

# Sorting does not work for numbers.

 *  [dermexglobal](https://wordpress.org/support/users/dermexglobal/)
 * (@dermexglobal)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/sorting-does-not-work-for-numbers/)
 * Sorting does not work properly for numbers.
    If you have to sort 100, 200 , 2500,1500
 * the sorting result will be 100, 1500, 200 and 2500
 * It works for sorting only when are the numbers have equal digits counts. For 
   example, it will work for 100, 300, and 200 because all of them have 3 digits
   but if any number has 4 digits like 1250 then sorting will fail.
 * Also, there should be ascending and descending sorting for number fields,
 * This is a major problem I intend to buy the premium features if you can resolve
   this problem
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fsorting-does-not-work-for-numbers%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [kamil1990](https://wordpress.org/support/users/kamil1990/)
 * (@kamil1990)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/sorting-does-not-work-for-numbers/#post-13276204)
 * Still haven’t got solution?

Viewing 1 replies (of 1 total)

The topic ‘Sorting does not work for numbers.’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-member/assets/icon-256x256.png?rev=3160947)
 * [Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin](https://wordpress.org/plugins/ultimate-member/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-member/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-member/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-member/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-member/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-member/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [kamil1990](https://wordpress.org/support/users/kamil1990/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/sorting-does-not-work-for-numbers/#post-13276204)
 * Status: not resolved