Dim newColumn As DataGridViewColumn = DataGridView1.Columns(e.ColumnIndex) Dim direction As System.ComponentModel.ListSortDirection If DataGridView1.SortOrder = SortOrder.Ascending Then direction = System.ComponentModel.ListSortDirection.Descending E