ASP.NET MVC - Passing Grouped data into a View

I’ve got a LINQ to SQL object, and I want to group the selected data and then pass it into a view. What’s the correct way of doing this? I’m sure I need to group the data when I select it rather than grouping it in the view, as this will result in about 200 rather 50000 rows I need to pass into my view. Are there any good examples of this online that anyone has seen?

Cheers

MH

On grouping and ordering: http://stackoverflow.com/questions/1501188/how-do-i-group-by-events-by-year-using-a-single-linq-query

On passing it into the view: do it using a presentation class rather than using an IEnumberable<TModel>.