//Sorting the Table DataView dv = dt.DefaultView; dv.Sort = "ParamValue asc"; DataTable sortedtable1 = dv.ToTable();