How can I change the LINQ query in the code below to sort by date in descending order (latest first, earliest last)?
using System; using System.Linq; using S
This statement will definitely help you:
env = env.OrderByDescending(c => c.ReportDate).ToList();