How to sort not by cells content?
How to sort not by cells content?

I have a table with times and dates that stores in DB in seconds, but it shows in table in this formats:
1 day 16 hours 20 minutes 18 seconds
Aug 20th 2011, at 6:17:28 pm
And of corse DataTables sort this column wrong. How can I make it sort them by DB values, not by readable formats?
1 day 16 hours 20 minutes 18 seconds
Aug 20th 2011, at 6:17:28 pm
And of corse DataTables sort this column wrong. How can I make it sort them by DB values, not by readable formats?
This discussion has been closed.