How To - In Data-Table implement a sorting logic realized manually

Hi,
there is any examples?
Or at least some events to listen to?
Thanks in advance
Luca
Doc reference

No, you should do it manually, as the docs says;
https://framework7.io/docs/data-table.html#sortable

Note, there is no actual sortable logic provided by framework. Actual sorting logic should be realized manually

but, here you have a solution:
jsfiddle

sort function taken from stackoverflow:

Thanks,
just a silly fix … may be is better to use “datatable:sort” event see below :wink:
jsfiddle modified
Thanks very much again
Luca