How to sort alphanumeric string
How to sort alphanumeric string
![sudo255](https://secure.gravatar.com/avatar/db2d8357f037bcde8254638986481edc/?default=https%3A%2F%2Fvanillicon.com%2Fdb2d8357f037bcde8254638986481edc_200.png&rating=g&size=120)
in DataTables
I am using datatable where the first column is an alphanumeric string. When i use datatable as a default it does sort, but not as how it is expected.
**For example when sorting **
AA 1 and AA 10...AA 1 is brought as the first as opposed to the latter
How can i sort as expected?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
See if the Natural sorting plugin works for your data.
Kevin
Thanks, it worked![B) B)](https://datatables.net/forums/resources/emoji/sunglasses.png)