SortedList Desc Order

前端 未结 4 660
闹比i
闹比i 2021-01-17 07:09

I am using SortedList to arrange arraylist records dynamically in sort order by datecolumn, but by default it is sorting in ascending

4条回答
  •  一向
    一向 (楼主)
    2021-01-17 07:55

    Comparer.Create((x, y) => 0 - Comparer.Default.Compare(x, y));
    

提交回复
热议问题