Datatables sorting varchar
问题 I have a SQL query that is pulling back results ordered correctly when I try the query in MSSQL Studio. I am using Datatables from Datatables.net and everything is working great apart from a sorting issue. I have some properties in the first column and I would like to order these like this: 1 1a 1b 2 3 4a 5 etc However what comes back is something like this: 1 10 100 11 11a I have looked though various posts but nothing seems to work and I believe that this must be something I should trigger