Adding support for datatables ordering.