order by descending in linq custome qyer code example
Example 1: linq order by descending multiple fields
items.OrderByDescending(y => y.Year).ThenByDescending(m => m.Month);
Example 2: linq dynamic order by descending
myDataSource.OrderBy(columnName + " descending");