Example of how to use table-sort-js with basic HTML.
<script src="https://cdn.jsdelivr.net/npm/table-sort-js/table-sort.js"></script>
<table class="table-sort">
<thead>
<tr>
<th>Last Name</th>
<th>First Name</th>
<th class="order-by-desc">Birth Date</th>
</tr>
</thead>
<tbody>
<tr>
<td>Franklin</td>
<td>Benjamin</td>
<td>1706/1/17</td>
</tr>
<tr>
<td>Carnegie</td>
<td>Andew</td>
<td>1835/11/25</td>
</tr>
<tr>
<td>Twain</td>
<td>Mark</td>
<td>1835/11/30</td>
</tr>
</tbody>
</table>