A vanilla JS table sorter that allows you to sort data in an HTML table by clicking the header of a column.
| String | String (UA) | Int | Float | Date |
|---|---|---|---|---|
| A | John | 5 | 2.3 | 2021-06-22 |
| B | Smith | 3 | 3.2 | 2021-06-21 |
| E | Matrix | 4 | 6.4 | 2021-06-23 |
| d | Thomas | 1 | 7.5 | 2021-06-20 |
| C | Alexandar | 2 | 2.411 | 2021-06-24 |