I am using Kendo Grid in my asp.net mvc 4 project. I have the latest version of Kendo UI. One of the columns on the grid has data like (initially unsorted) ..
MS1
MS2
MS3
MS2345
MS4
When I sort the column the data is displayed as ...
MS1
MS2
MS2345
MS3
MS4
Instead of ...
MS1
MS2
MS3
MS4
MS2345
This is what I am expecting when I sort the column.
What am I doing wrong?
Edit:
Based on the information I have been given so far (thanks guys), what I want to do is Natural Sort. I have more than 100,000 records in the database. I am doing all the sorting and filtering on the server-side due to the large number of records in the system.
Solution:
The following solution didnt work for me as our system is very large but just in case you wanna know.
Telerik guys replied saying "In order to do this you need to use custom binding. Then you would have full control over data operations such as paging and sorting. I found a few good resources how to implement natural sorting in .NET: http://www.interact-sw.co.uk/iangblog/2007/12/13/natural-sorting "