//倒序

list.OrderByDescending(i => i.a).ThenByDescending(i => i.b);

//顺序

list.OrderBy(i => i.a).ThenBy(i => i.b);

相关文章: