This article was previously published under Q191295
This article has been archived. It is offered "as is" and will no longer be updated.
List view controls that use LVS_SORTASCENDING or LVS_SORTDESCENDING do notsort items correctly.
Applications can sort the list view items by sending the list view controla LVM_SORTITEMS message and defining a comparison function.
Microsoft has confirmed this to be a bug in the Microsoft products listedat the beginning of this article. We are researching this bug and will postnew information here in the Microsoft Knowledge Base as it becomesavailable.