title: How can I sort other columns on my listview? I can only sort the first column
body: <pre><code>Private Sub ColumnClick(ByVal sender As Object, ByVal e As System.Windows.Forms.ColumnClickEventArgs) Handles ListView1.ColumnClick
  
      Select Case e.Column
          ' Nach Namen sortieren
  
          Case 0
              If ListView1.Columns.Item(1).ListView.Sorting &lt;&gt; SortOrder.Descending Then
                  ListView1.Columns.Item(1).ListView.Sorting = SortOrder.Descending
              ElseIf ListView1.Columns.Item(1).ListView.Sorting &lt;&gt; SortOrder.Ascending Then
                  ListView1.Columns.Item(1).ListView.Sorting = SortOrder.Ascending
              End If
          Case 1
              If ListView1.Columns.Item(2).ListView.Sorting &lt;&gt; SortOrder.Descending Then
                  ListView1.Columns.Item(2).ListView.Sorting = SortOrder.Descending
              ElseIf ListView1.Columns.Item(2).ListView.Sorting &lt;&gt; SortOrder.Ascending Then
                  ListView1.Columns.Item(2).ListView.Sorting = SortOrder.Ascending
              End If
      End Select
  
  End Sub
  </code></pre>
  
  <p>That is my code, even though I used the number (1), the first column is still the one being sorted </p>