Sorting columns of a table is rather easy using Datatables.net. However, sorting a column holding dates has always been a bit tricky.
Here I'll show two ways of sorting a simple table.
- using jQuery, Datatables.net and Datatables.net plugins
- using vue-tabulator
Note that both date sortings are based on moment.js.
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build