I\'m trying to figure out the best way to custom sort a List. Lets say that T is a Object with a date(DateTime?) property and a status(string) property.
I have 3 cases.
You will need to provide an implementation of IComparer, and then you can pass it in using the following overload:
public static IOrderedEnumerable OrderBy( this IEnumerable source, Func keySelector, IComparer comparer )
See: http://msdn.microsoft.com/en-us/library/bb549422.aspx