About table-sort-js

Objectives of table-sort-js:



  • Be easy to use; add class "table-sort" on <table> tags to make a table sortable.
  • Having no dependencies keeps the library size down and avoids the left-pad fiasco. (for example jquery which datatables relies on is around 80KB).
  • Be versatile; sorts dates, numbers (in a natural order), alphanumeric, etc; out of the box.
  • Minimal changes to the CSS of tables; Allow users to style tables how they wish, (Bootstap, Tailwind, etc.)