linq sort by multiple fields code example
Example: linq order by descending multiple fields
items.OrderByDescending(y => y.Year).ThenByDescending(m => m.Month);
items.OrderByDescending(y => y.Year).ThenByDescending(m => m.Month);