Title: Sorting incorrectly
Last modified: August 21, 2016

---

# Sorting incorrectly

 *  Resolved [bholman](https://wordpress.org/support/users/bholman/)
 * (@bholman)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/sorting-incorrectly-1/)
 * Hi,
 * My tables seem to be sorting as text, not numbers — similar problem to [here](http://wordpress.org/support/topic/sorting-numbers-is-screw-1-10-100-1011?replies=6),
   but a different theme (Tiny Forge). There’s an example on my site [here](http://airminded.org/2012/08/30/sykess-lost-squadrons/).
   I assume it’s a javascript error but I can’t see where. Any help would be appreciated.
 * [https://wordpress.org/plugins/tablepress/](https://wordpress.org/plugins/tablepress/)

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

 *  Thread Starter [bholman](https://wordpress.org/support/users/bholman/)
 * (@bholman)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/sorting-incorrectly-1/#post-4906117)
 * Sorry! Actually, that’s not a good example, as it looks like it is sorting correctly.
   The problem is on a post I’m writing, and I’m not sure that it is a text vs number
   problem — it’s mostly sorting correctly, but one entry is out of order. When 
   I post it I’ll let you know — please ignore this for the moment. Sorry again.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/sorting-incorrectly-1/#post-4906135)
 * Hi Brian,
 * thanks for your question, and sorry for the trouble.
 * For the correct detection of the sorting algorithm, it’s necessary that all cells
   in that column have the same data type (numbers in this case).
    If you think 
   that’s the case, but it’s still sorting wrong, just let me know with the link
   and I’ll take a look!
 * Regards,
    Tobias
 *  Thread Starter [bholman](https://wordpress.org/support/users/bholman/)
 * (@bholman)
 * [12 years ago](https://wordpress.org/support/topic/sorting-incorrectly-1/#post-4906296)
 * I’m back. I deleted the problem cell and re-entered the data, and it sorts correctly
   now. Thanks again.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years ago](https://wordpress.org/support/topic/sorting-incorrectly-1/#post-4906297)
 * Hi,
 * no problem, you are very welcome! 🙂 Good to hear that you were able to fix the
   issue!
 * Best wishes,
    Tobias
 * P.S.: In case you haven’t, please [rate TablePress](http://wordpress.org/support/view/plugin-reviews/tablepress)
   here in the plugin directory. Thanks!

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

The topic ‘Sorting incorrectly’ 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/)

 * 4 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/sorting-incorrectly-1/#post-4906297)
 * Status: resolved