Open mrocklin opened 11 years ago
They're being sorted as strings so 2 > 100
There is a "numeric" sorting mechanism that one can apply to columns but this fails because the entries are strings containing HTML e.g. <div id=...>2</div>
<div id=...>2</div>
DataTables supports custom sorting http://www.datatables.net/development/sorting
They're being sorted as strings so 2 > 100
There is a "numeric" sorting mechanism that one can apply to columns but this fails because the entries are strings containing HTML e.g.
<div id=...>2</div>
DataTables supports custom sorting http://www.datatables.net/development/sorting