//数组排序 //按照降序排序 升序把x和y换一下 数组.Sort(delegate(Model类型 x, Model类型 y) { return y.time.CompareTo(x.time);//这个是按照时间排序的 });