Sorting date not working as expected
Sorting date not working as expected
![exon02](https://secure.gravatar.com/avatar/2d62f6afacd8f7c70f531054e0c9a1be/?default=https%3A%2F%2Fvanillicon.com%2F2d62f6afacd8f7c70f531054e0c9a1be_200.png&rating=g&size=120)
I'm having trouble with the sorting of a date column.
It seems that it only sorts the day but not the year.
I've made a jsfiddle with the issue if you sort the startdate there are records of 2019 between records of 2020
https://jsfiddle.net/obswu4tk/
This discussion has been closed.
Answers
Found the solution on https://stackoverflow.com/questions/36984554/sorting-date-in-datatable