Title: Table not sorting stats properly
Last modified: December 24, 2021

---

# Table not sorting stats properly

 *  Resolved [avengersman](https://wordpress.org/support/users/avengersman/)
 * (@avengersman)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/table-not-sorting-stats-properly/)
 * I noticed multiple things wrong with the table sorting. It does not properly 
   sort numbers that are over 999. If you check the HP (S) and HP (M) it does not
   display the vehicles with HP higher than 1000 at the top. Also N/A appears first
   on Descending before numbers which is not how the tables should be sorting the
   data. Also when changing table pages it keeps going to the bottom of the page
   rather than back to the top of it
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ftable-not-sorting-stats-properly%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Stephen Raj](https://wordpress.org/support/users/pauple123/)
 * (@pauple123)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/table-not-sorting-stats-properly/#post-15205673)
 * Hi [@avengersman](https://wordpress.org/support/users/avengersman/) ,
 * Thanks much for your patience.
 * 1. I just verified your table and saw that you have included all the number in
   the “Text” format type. Numbers should be added under the “Number” format type.
   Could you please change it to “Number” format type and check if the sorting works
   fine then? It should work properly for number format type.
 * 2. Unfortunately we cannot add “N/A” in the number columns, as text cannot be
   added in the Number format type. As of now, could you please leave it empty? 
   We will think about a work-around for this once we are back to work. (We are 
   currently on our Christmas/New Year holidays).
 * 3. Regarding the pagination issue, we already have this issue in our backlog.
   I will make sure to let you know once the issue is fixed.
 * Hope that helps. Feel free to let me know if there is anything else I could help
   you with.
 * Kind Regards.
 *  [Stephen Raj](https://wordpress.org/support/users/pauple123/)
 * (@pauple123)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/table-not-sorting-stats-properly/#post-15216680)
 * Hi There,
 * I hope changing the table column to number format type has fixed your sorting
   issue.
 * Regarding adding text in number format columns pagination issues, I have added
   this to our bug tracker and have also notified my development team once again.
 * I will get back to you on the same thread and will let you know once this is 
   fixed.
 * Kind Regards.
 *  Thread Starter [avengersman](https://wordpress.org/support/users/avengersman/)
 * (@avengersman)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/table-not-sorting-stats-properly/#post-15219086)
 * Thanks. The settings you mentioned above worked. Now the tables are functioning
   properly. Also thank you for the notice on the pagination bug.

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

The topic ‘Table not sorting stats properly’ is closed to new replies.

 * ![](https://ps.w.org/tablesome/assets/icon-256x256.jpg?rev=2551285)
 * [Tablesome Table - Contact Form DB - WPForms, CF7, Gravity, Forminator, Fluent](https://wordpress.org/plugins/tablesome/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablesome/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablesome/)
 * [Active Topics](https://wordpress.org/support/plugin/tablesome/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablesome/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablesome/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [avengersman](https://wordpress.org/support/users/avengersman/)
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/table-not-sorting-stats-properly/#post-15219086)
 * Status: resolved