Title: Sortin negative value
Last modified: September 1, 2016

---

# Sortin negative value

 *  Resolved [lordvonaki](https://wordpress.org/support/users/lordvonaki/)
 * (@lordvonaki)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/sortin-negative-value/)
 * Hi,
 * I can’t sort values correctly since it takes into account only the number and
   not the – or + signe. How do I make the columns sorting my data correctly?
 * Thanks,
 * Lordvonaki
 * [https://wordpress.org/plugins/tablepress/](https://wordpress.org/plugins/tablepress/)

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

 *  Thread Starter [lordvonaki](https://wordpress.org/support/users/lordvonaki/)
 * (@lordvonaki)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/sortin-negative-value/#post-7684579)
 * Hi,
 * Since I haven’t heard from you I looked again in the previous threads. But after
   installing the sorting extension and looking at all the possibilities, it still
   doesn’t!
 * Even though you said in this thread that the + and – signs should work just fine
   [https://wordpress.org/support/topic/sort-function-not-sorting-properly?replies=11](https://wordpress.org/support/topic/sort-function-not-sorting-properly?replies=11).
 * FYI i use % in other tables and never had issues so it looks like the – and +
   are the real issuses.
 * Thanks,
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/sortin-negative-value/#post-7684633)
 * Hi,
 * thanks for your question, and sorry for the trouble.
    As I was on holidays, I
   couldn’t reply earlier.
 * Usually, negative numbers sort just fine. Therefore, I assume that your table
   does not contain plain numbers. Can you please post a link to the page with the
   table where this problem happens, so that I can take a direct look? Thanks!
 * Regards,
    Tobias
 *  Thread Starter [lordvonaki](https://wordpress.org/support/users/lordvonaki/)
 * (@lordvonaki)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/sortin-negative-value/#post-7684643)
 * Hi Tobias,
 * Well it looks like it work now 🙂 I published the page and it’s ok, maybe it 
   was only the “preview” not sorting it right.
 * Anyway all is good!
 * Thanks,
 *  Thread Starter [lordvonaki](https://wordpress.org/support/users/lordvonaki/)
 * (@lordvonaki)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/sortin-negative-value/#post-7684644)
 * Hi,
 * Actually I may need you help for something. Since in the admin view I can’t sort
   correctly the numbers, I can’t save the table with 482.5% as the first row on
   my page: [https://www.althos-patrimoine.com/comparez-tous-les-fcpi-fip-2016/](https://www.althos-patrimoine.com/comparez-tous-les-fcpi-fip-2016/).
 * Do you know how we could make it happen, cause I would like the first row to 
   display the biggest number?
 * Thanks,
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/sortin-negative-value/#post-7684646)
 * Hi,
 * good to hear that it’s working on the live site now! 🙂
 * Unfortunately, I’ll have to disappoint you about the sorting on the “Edit” screen.
   That uses a different sorting algorithm that does not support percentage values
   with negative numbers at the moment.
    I can therefore only suggest that you order
   the table on the “Edit” screen manually, using drag and drop on the row numbers
   on the left.
 * Regards,
    Tobias
 *  Thread Starter [lordvonaki](https://wordpress.org/support/users/lordvonaki/)
 * (@lordvonaki)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/sortin-negative-value/#post-7684647)
 * Thanks I will do that!
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/sortin-negative-value/#post-7684648)
 * Hi,
 * no problem, you are very welcome! 🙂 Good to hear that this helped!
 * Best wishes,
    Tobias

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

The topic ‘Sortin negative value’ 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/)

## Tags

 * [columns](https://wordpress.org/support/topic-tag/columns/)
 * [sorting](https://wordpress.org/support/topic-tag/sorting/)

 * 7 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/sortin-negative-value/#post-7684648)
 * Status: resolved