Minifycode 2020-03-24 Viewed 1.3K times LINQ

In this article, you will learn how to Sort a List<T> by a property in the object in LINQ

Order a list is to use OrderBy

List<Order> objListOrder = 
    source.OrderBy(order => order.OrderDate).ToList();

How to Sort a List<T> by a property in the object in LINQ
minify code