List.js Sort
Click column headers with data-sort to sort matching value classes.
| Name | Age | |
|---|---|---|
| Oscar | [email protected] | 52 |
| Anna | [email protected] | 18 |
| Homer | [email protected] | 35 |
| Emily | [email protected] | 30 |
| Jara | [email protected] | 25 |
| Clark | [email protected] | 39 |
Important HTML
<th class="sort" data-sort="name">Name</th>
<td class="name">Anna</td>