This example shows how a sortable table can be implemented with very little configuration. Simply specify the data type on a <th>
element using the data-sort
attribute, and the plugin handles the rest.
int | float | string |
---|---|---|
15 | -.18 | banana |
95 | 36 | coke |
2 | -152.5 | apple |
-53 | 88.5 | zebra |
195 | -858 | orange |