title: C# DataGridView sorting with Generic List as underlying source
body: <p>I'm using a <strong>Windows Forms DataGridView</strong> to display a generic list of <code>MyObject</code> objects.</p>
  
  <p>First of all I wrap this collection into a <code>BindingSource</code> Collection, then:</p>
  
  <pre><code>dataGridView.DataSource = myBindingSource;
  </code></pre>
  
  <p>What I want to do is allow the user to sort the columns by clickin on the header of the column representing a concrete Property in MyObject.</p>
  
  <p>I've read some articles that I should do sorting before binding. But it does not help me if I want to sort the columns in real time, being said when it's already binded.</p>
  
  <p>The question is, what exactly do I need to do, so <strong>I could see the sorting arrows</strong> in DataGridView and <strong>I could sort every column</strong> ?</p>