title: DataGridView automatic sorting doesn't work when datasource bound
body: <p>My problem is:
  when I bind datasource to DataGridView</p>
  
  <pre><code>BindingList&lt;Contract&gt; contracts = new BindingList&lt;Contract&gt;(Contract.GetAll());
  dgEndingContracts.DataSource = contracts.Where(c =&gt; c.ExpirationDate &lt;= nextMonth &amp;&amp; c.IsArchived == false).ToList();
  </code></pre>
  
  <p>and set every column to <code>SortMode = DataGridViewColumnSortMode.Automatic</code>
  when I click on dataGridView header rows doesn't sort.</p>
  
  <p>But when I manually create each column, create and fill with data each row of dataGridView, and the set column sort mode to automatic, sorting works fine.</p>
  
  <p>What is the difference and how can I enable sorting in first approach?</p>