How to define sorting value for a column
How to define sorting value for a column

I'm using Livestamp.js plugin to format a datetime to "an hour ago" style.
So my <td>
s end up like this:
<td>
<abbr title="November 4, 2014 7:14 PM" data-date="2014-11-04T19:14:00-03:00>a year ago</abbr>
</td>
When sorting, it uses the "a year ago" text and, of course, it doesn't sort it correctly. Is there a way to tell "use this attribute (data-date) to sort this column" ?
This discussion has been closed.
Answers
Nervermind, I found the HTML5 data-order attribute.
https://datatables.net/manual/data