Why is the following code
Array.Sort(values); Array.Reverse(values);
much faster at sorting an array in descending order compared to
Delegates.
The call to the delegate is much slower than the default call to IComparable.CompareTo
IComparable.CompareTo
Update:
If you want the same (or close) speed, implement the IComparer interface and pass that to the sort method.
IComparer
http://msdn.microsoft.com/en-us/library/bzw8611x