Hi Sam,
I believe that the problem is connected with the model field definitions.
Does the ->format() function have any relationship to sorting? Or does it just change the visual output of the columns?
The format affect only the way values are displayed. In order to sort values as dates you should set the field type to date. For example:
In this way the DataSource will parse date string into JavaScript Date Object which will fix the sorting. You can test the behaviour in this demo:
Regards,
Alexander Valchev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework -
download Kendo UI now!