This method sorts list view items using an application-defined comparison function. The index of each item changes to reflect the new sequence.
| Header file: | Afxcmn.h |
| Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
| Windows CE versions: | 1.0 and later |
| Complete documentation: | Visual C++ documentation |
BOOL SortItems( PFNLVCOMPARE pfnCompare, DWORD dwData );