VB5.0: Sorting in a List View control
Posted on 1999-11-25
Hi, I have got a list view control in a form. It has about 6 columns. All coulmns contain either a "number" , a "date" (mmm dd yyyy), or a "string". My problem is that when I click on a column to sort that column, it treats its contents as strings and sorts it accordingly. For example, for a number coulmn, it puts all numbers starting with a 1 first, then the 2 etc. For my dates column, instead of going from January to December, it sorts from April to September. How can I force my list view control to treat each column differently and then sort accordingly.
A quick response would be greatly appreciated.