linq sort list of objects by multiple properties descending 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);