Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    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 Larenholtz

    (@larenholtz)

    Thanks for such a quick reply.

    It is in swedish, but you will understand I hope. Check the third column with the biggest numbers. First when you have uploaded the page, you will have one order which is correct. But when I sort it, I don´t get it in correct order.

    http://www.sokkonsulterna.se/test-seobolag/

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for the link! The reason for this problem is that you are using a space ” ” as a thousand separator in the numbers. This turns those numbers into text strings, which are sorted differently.
    To change this, you can use the Sorting Extension from http://tablepress.org/extensions/datatables-sorting-plugins/

    Regards,
    Tobias

    Thread Starter Larenholtz

    (@larenholtz)

    Perfekt. Thank´s.
    One more question. How to make a number that is below 0. -4678 for example to be sorter below 0 in a table.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    you will need to make sure to use the proper minus symbol - from the keyboard, and not the one that you are using now (which is ).
    They look very similar but are not the same.

    Regards,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Sorting don´t work’ is closed to new replies.