List数据集动态排序

List<Type> datas = new List<Type>;

datas = datas.OrderBy(c => c.GetType().GetProperty(DataPropertyName).GetValue(c, null)).ToList();

原文地址:https://www.cnblogs.com/ZC_Mo-Blog/p/4711313.html