What Sorting Algorithm Is Used By LINQ “OrderBy”?

For LINQ to Objects, it’s a stable quicksort that is used. For any other kind of LINQ, it’s left to the underlying implementation.

Leave a Comment