public static MyOrderedEnumerable JoeyThenBy(this MyOrderedEnumerable employees, Func <Employee, string> keySelector) { return(employees.AppendComparer(keySelector, Comparer <string> .Default)); }
public static MyOrderedEnumerable JoeyThenBy(this MyOrderedEnumerable employees, Func <Employee, string> keySelector) { return(employees.CreateOrderedEnumerable(keySelector, Comparer <string> .Default)); //return employees.CreateOrderedEnumerable(new CombineKeyCompare(keySelector, Comparer<string>.Default)); }