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.
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Mayur Patel146 reputationPosted May 26, 2018, 6:56 PM EDT
Rafnas T PRank #280 · 8.8K reputationPosted May 27, 2018, 12:51 AM EDT