linq order by multiple columns ienumerable code example
Example: c# linq order by multiple columns
var movies = _db.Movies.OrderBy(c => c.Category).ThenBy(n => n.Name)
var movies = _db.Movies.OrderBy(c => c.Category).ThenBy(n => n.Name)