title: Best way to disable the column header sorting in DataGridView
body: <p>I need to disable the column header sorting in <code>DataGridView</code>. </p>
  
  <p>We can do that by setting the property of individual columns like</p>
  
  <pre><code>BalancesGridView.Columns[1].SortMode = DataGridViewColumnSortMode.NotSortable;
  </code></pre>
  
  <p>If this is the case , then I'll have to loop through all the columns. </p>
  
  <p>Is there a better way ?</p>