Community

LINQ: OrderBy with complex sort key

(Andreas Gieriet) This is an alternative to the original tip[^]. While that original tip shows a fully hand-crafted version of sorting an array by a complex sort key, I show here a LINQ based approach, based on the IComparer<T> interface.

Read More - Register for Free Membership