Ciao, scusa se ti rispondo solo adesso
È un problema che deriva dall'algoritmo della funzione di ordinamento. Comunque potresti fare, per esempio, che tutte le celle vuote vengono automaticamente portate in ultima posizione, basta che aggiungi questo codice:
If String.IsNullOrEmpty(strA) Then
If String.IsNullOrEmpty(strB) Then Return 0 Else Return -1
ElseIf String.IsNullOrEmpty(strB) Then
Return 1
End If
Subito sotto queste righe:
'Ottiene i valori dei due oggetti
Dim strA As String = itemA.SubItems(Me.column).Text
Dim strB As String = itemB.SubItems(Me.column).Text
Luca