title: Problem displaying a linq query in a datagridview
body: <p>Hello: I am working on a C# project that reads an XML file and returns a list of lists. When I want to display a list I do this:</p>
  
  <pre><code>IEnumerable&lt;Foo&gt; myFooQuery = from t in myLists.SelectMany( l =&gt; l.bar)
                                orderby t.StartTime descending
                                select t;
  dataGridView1.DataSource = myFooQuery.ToList();
  </code></pre>
  
  <p>My problem is that when I do it that way, you can't click on the column header to sort the datagridview. I tried myFooQuery.AsQueryable(), but then nothing shows up in the datagridview even though the query count is what I expect. Am I just missing something obvious, or do I have to use .Tolist()?</p>