//倒序 list.OrderByDescending(i => i.a).ThenByDescending(i => i.b).ToList(); //顺序 list.OrderBy(i => i.a).ThenBy(i => i.b).ToList();