If i use this,

VB Code:
  1. Private Sub ListView1_ColumnClick(ByVal ColumnHeader As MSComctlLib.ColumnHeader)
  2. ListView1.Sorted = True
  3. If ListView1.SortOrder = lvwDescending Then
  4. ListView1.SortOrder = lvwAscending
  5. Else
  6. ListView1.SortOrder = lvwDescending
  7. End If
  8. End Sub

it sorts the whole listview according to the first column. How do i get it to sort with regard to the actual column clicked?

Edit : made a mistake there, it sorts each column accordinly. How do i get it to sort just the column thats clicked ?