[This is preliminary documentation and subject to change.]
Specifies the parameters the snap-in should use to sort the items.
HRESULT SortItems(
int nColumn, // Index of column header clicked
DWORD dwSortOptions, // Sort options
long lUserParam, // User parameter
);
Because the snap-in maintains all the item data storage for a virtual list, the list does not support sorting. Call this function when the user clicks the header item of a virtual list or the snap-in calls IResultData::Sort.