I want to sort a list of price object by year but it just doesn't sort
Is it possible to sort with LINQ on a certain attribute? If so, how?Code:var query = from p in prices orderby p.StartDate descending select p;
NVM, something else went wrong. It works just fine