This method is specific to version 3, or higher, of the OS/2 operating system.
This instance method sets the sort attributes on the folder window and saves those values in the instance data.
Note: This method only rearranges a folder open in icon view.
#define INCL_WINWORKPLACE
#include <os2.h>
WPFolder *somSelf; /* Pointer to the object on which the method is being invoked. */
PVOID pSortRecord; /* Pointer to the SORTFASTINFO structure containing sort record information. */
ULONG ulView; /* Reserved - set to 0. */
ULONG ulType; /* Reserved - set to 0. */
BOOL rc; /* Success indicator. */
rc = _wpSetFldrSort(somSelf, pSortRecord,
ulView, ulType);