title: Disable sorting on autogenerated columns in DataGrid in WPF MVVM
body: <p>I have a DataGrid in WPF with <strong>autogenerated</strong> columns.</p>
  
  <p>How can I <strong>disable</strong> sorting functionality of all the rows following the <strong>MVVM</strong> pattern?</p>
  
  <pre><code>&lt;DataGrid AutoGenerateColumns="True" 
              ItemsSource="{Binding MyList}" 
  &lt;/DataGrid&gt;
  </code></pre>