In the DataGridView control, text box columns use automatic sorting by default, while other column types are not sorted automatically. Sometimes you will want to override these defaults.
In the DataGridView control, the SortMode property value of a column determines its sorting behavior.