title: Sorting A ListView By Column
body: <p>Currently I use a custom sorter on the listview, and i can sort the listview each time i click on the FIRST column, but it won't sort by other columns.</p>
  
  <p>SortStyle: Variable to determine whether it is Ascending Sort, or Descending.</p>
  
  <pre><code>if (e.Column == 0)
  {
      if (SortStyle == 0)
      {
          List.ListViewItemSorter = customSortDsc;
          SortStyle = 1;
      }
      else
      {
          List.ListViewItemSorter = customSortAsc;
          SortStyle = 0;
      }
  }
  </code></pre>
  
  <p>This works fine when sorting for the first column, but if you were to do it on any other column, it would just sort by the first column. Is there a way to sort by the column clicked?</p>