3b1d001543
Adapted from https://stackoverflow.com/a/57080195. Additions: 1. sortTable accepts a secondary column and sorting direction. The 'Name' column (number 0) is always used for the secondary 2. use classes 'ascSorted' and 'descSorted' to toggle between ascending and descending order 3. in the table functions, use .innerHTML instead of .innnerText so the link to detailed protocol information does not get lost. Also preserve .classList |
||
---|---|---|
.. | ||
jsdelivr/npm | ||
sortTable.js |