Linq does not sort string column values correctly
i have column as nvarchar in sql
acode
1
2
100
1000
101
102
103
when i sort in Linq it does not give right result
var q = (from of in db.f_Chart_Get_All()
join o in db.chart_master on of.ID equals o.chart_id
where o.Businessid == businessid && of.ctype == "IS"
select of);
q = q.OrderBy(u => u.acode);
it is giving result as
1
100
1000
101
200
201
202
it should giv the output in ascending order like
1
100
101
200
201
202
1000
please advice