order by only 3 elements records in linq 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);