Ordering of column that contains HREF tags that are integers not ordering correctly
Ordering of column that contains HREF tags that are integers not ordering correctly



Description of problem: I'm trying to order the table on column 1, which contains href tag with integer id's. It orders it like its a string, placing 29 before 9.
I'm using datatables 1.1.10. When I look up this question, it states that this new datatables version should be able to automatically handle this, but it does not for me.
I've also tryed setting "type":"html" and "type":"html-num" which on first load, sets the ordering correctly but does not work when I toggle the order changing icon.
If there is anything I am missing in my setup, or any thing I may have overlooked, please let me know.
Answers
Use Orthogonal Data to return the number for the
sortandtypeoperations. Something like this pseudo code:Kevin