13 Apr 2012 by VJ Reddy
The reason is in the SortedList, the key is added as an integer. So, the order will be 7, 31, 32, 33. Whereas, in the DataTable the value is text, hence, the order is 31e, 32e, 33e, 7i.To get the same sort as in data table, add the key as text i.e.emp.Add(key, type);where key is 31e,...