tristen / tablesort

:arrow_up_down: A small tablesorter in plain JavaScript
https://tristen.ca/tablesort/demo/
MIT License
1.1k stars 179 forks source link

Number sorting non numbers #239

Open cklenk opened 1 year ago

cklenk commented 1 year ago

Hello all. Is there a way to keep rows that include columns that have non numbers to always stay at the bottom. Essentially, I was hoping to only sort columns that have numbers in it and keep the other ones on the bottom of the table. I'm using the custom data-sort attribute. But no matter what the rows will resort. If that is by design let me know. Thanks!

https://github.com/tristen/tablesort/assets/12185742/8e512fc5-e7dc-485d-a087-5e8bb7bf4158