sorting
Lightweight sorting of tables.
Just add [data-sort]
attributes to the th
elements in columns you’d like to sort a table by, include ~1kB of JS & CSS, and initialise with sorter()
– and that’s it!
For installation instructions and more customisation options, you can check out the readme file.