C# - DataGridView - Disable Column Sorting
Sometime you need to disable the ability for users to sort on a column and you can easily do this by setting the DataGridViewColumn.SortMode property to desired value.
Here are the steps for achieving this behavior:
1) Righ click on the DataGridView
2) Choose the Edit Columns option
3) Select the column that you want to disable sorting logic for
4) Set the SortMode property to NotSortable