C# Multiple Property Sort
- by Ben Griswold
As you can see in the snippet below, sorting is easy with Linq. Simply provide your OrderBy criteria and you’re done. If you want a secondary sort field, add a ThenBy expression to the chain. Want a third level sort? Just add ThenBy along with another sort expression.
var projects = new List<Project>…