dicStuGrade = (from d in dicStuGrade orderby d.Key ascending select d).ToDictionary(p => p.Key, p => p.Value);