Library is here:
https://www.kryogenix.org/code/browser/sorttable/
To make a table of your choice sortable, there are three steps:
Download the Javascript library
Include the Javascript library, by putting a link to it in the HEAD of your page, like so:
<script src="sorttable.js"></script>
Mark your table as a sortable one by giving it a class of "sortable":
Note that the library's JavaScript file is called sorttable (two Ts), but the class you add to the table is sortable (one T).
Library is here:
https://www.kryogenix.org/code/browser/sorttable/
To make a table of your choice sortable, there are three steps:
Download the Javascript library
<script src="sorttable.js"></script>Include the Javascript library, by putting a link to it in the HEAD of your page, like so:
Mark your table as a sortable one by giving it a class of "sortable":
Note that the library's JavaScript file is called sorttable (two Ts), but the class you add to the table is sortable (one T).