List 多次排序

 List<Patientmain> list = patientmains.OrderBy(p => p.Firstname).ThenBy(p => p.Middlename).ThenBy(p => p.Lastname).ToList();

 

posted @ 2014-01-23 20:26  quietwalk  阅读(197)  评论(0编辑  收藏  举报