Sorts the object's occurrencesint sm_obj_sort ( int obj_id, int direction );
- An integer handle that identifies the object to be sorted. For widgets, it can be obtained from
- The direction for the sort:
SORT_ASCENDINGfor an ascending sort or
SORT_DESCENDINGfor a descending sort.
sm_obj_sortsorts the object's occurrences according to the rules specified in the object's Sort Order property. If the Sort Order is set to
PV_CUSTOM, then the function named in the Sort Order Function property is used.
If the specified object is a member of a synchronized scrolling group, the other arrays in the group will be re-ordered to retain row integrity for the group.