Hi,tonhinbm
Try this meathod.When you sort this column the values will not be in numeric order. This example converts the string to a number and sorts based on the number.
Sub DataGridView1_SortCompare(ByVal sender As Object, _
ByVal e As System.Windows.Forms.DataGridViewSortCompareEventArgs) _
Handles DataGridView1.SortCompare
Dim intValue1, intValue2 As Integer
If Not Integer.TryParse(e.CellValue1.ToString, intValue1) Then Return
If Not Integer.TryParse(e.CellValue2.ToString, intValue2) Then Return
If intValue1 = intValue2 Then
e.SortResult = 0
ElseIf intValue2 > intValue1 Then
e.SortResult = -1
Else
e.SortResult = 1
End If
e.Handled = True
End Sub
Hope it helps
Gavin