I\'m using a Windows Forms DataGridView to display a generic list of MyObject objects.
First of all I wrap this collection into a
Another option to solve the sorting issue with DataGridView when binding to List is, if you are not dealing with huge data set then probably you can attempt to convert the List to DataTable, and then bind the resulting DataTable to the BindingSource/DataGridView.
This would the need for a custom implementation of IComparer. In my case, I was dealing with a smaller list but there were more fields to display. So implementing IComparer meant writing too much boiler plate code.
Check this for terse way of converting the List to DataTable: https://stackoverflow.com/a/34062898/4534493