Generic Reversing Comparers

added by flyingkick
12/3/2010 4:47:39 AM

0 Kicks, 62 Views

I was looking at some code the other day, and came across a instance where a developer was trying to handle a column click to sort or reverse sort the data. So, they developed a Comparer which was pretty huge that could account for any column selected and then compare based on that column.