Sort Date Column in ListView without Using API
Category:Forms and Controls
Author:Mitesh H. Budhabhatti
Version Compatibility: Visual Basic 6, Visual Basic 5
The listview control cannot sort date column. It sorts date column as normal text. This piece of code displays how to sort date column in Listview without using API. For this you have to add a listview to the form and copy/paste the code.
Instructions: Copy the declarations and code below and paste directly into your VB project.