Student sModel = new Student();
List<Student > list = new List<Student >();
list= list.OrderBy(s=> s.Age).ThenBy(s => s.Sort).ToList();
Student sModel = new Student();
List<Student > list = new List<Student >();
list= list.OrderBy(s=> s.Age).ThenBy(s => s.Sort).ToList();
转载于:https://www.cnblogs.com/cynthia0706/p/10223378.html