[ad_1]
That happens because you do a string comparison – you should change that to a int comparison
string[] arr = { "3", "1", "6", "10", "5", "13" };
var result = arr.OrderBy(int.Parse).ToArray();
1
[ad_2]
solved Sort a String Array containing Numbers in linq