Sorting in C#: OrderBy.OrderBy or OrderBy.ThenBy? What's More Effective and Why?
DZone
NOVEMBER 1, 2022
In C#, we can do this with the help of OrderBy().OrderBy() Suppose we need to sort the collection by multiple keys. OrderBy() or OrderBy().ThenBy(). But what is the difference between these calls? To answer this question, we need to delve into the source code. The article has three chapters:
Let's personalize your content