How to shorting in DataTable if value 1 to 10 and above
Is it possible to change the way DataTable sorts items numerically? For example:
By default, numerical sorting in DT is set like this: 1, 10, 2, 3, 4, 5, 6, 7, 8, 9
My question is, how can I get DT to sort like this: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
If, the value is 1 to 9 then code is working.If you add 10, then code not work.