I am using SortedList to arrange arraylist records dynamically in sort order by datecolumn, but by default it is sorting in ascending order. I have been trying to get order in descending order but not able to get it.
I am using SortedList to arrange arraylist records dynamically in sort order by datecolumn
Share
There is no way to instruct the SortedList to do sorting in descended order. You have to provide your own Comparer like this