List数据集动态排序

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

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