Hi,
thanks for your post, and sorry for the trouble.
Yes, this is the normal behavior, because you are sorting text and not plain numbers here. To change this, I recommend to use the TablePress Extension from https://tablepress.org/extensions/datatables-sorting-plugins/
Regards,
Tobias
Silly me, I do have sorting extension but it’s disabled! No wonder why it’s stop working!
Thank you very much for your response.
Hi,
no problem, you are very welcome! 🙂 Good to hear that this helped!
Best wishes,
Tobias
P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!
Hi,
Sorry but I just notice that the sorting is not working for one table. The behavior is the same as before I enable the sorting the extension.
Do you have any idea anything would cause it please?
Thanks.
Hi,
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
Do you have email, or a form so I can send you the link please?
Thanks.
Hi,
my email address is in the main plugin file “tablepress.php”.
Regards,
Tobias
Sent an email. Hope you can take a look on this.
Thank you.
Hi,
thanks for the link! From what I can see, you didn’t add the necessary “Custom Command”. Just activating the Extension is not enough here.
See https://tablepress.org/extensions/datatables-sorting-plugins/
Regards,
Tobias
Hi,
Thank you for the link. I follow the instruction and it now works as expected.
But on the table that is working, I’ve no Custom Commands for sorting, just ‘orderable’ command and it still works. So I’m kind of confused.
Anyway, now everything work fine, so thank you. 🙂
Hi,
yes, sometimes the auto-detection for the sorting algorithm works, but sometimes it needs the command.
Regards,
Tobias