Sets the sorting type of a sorted-object.
An instance of sorted-object or a subclass.
The sort type to set.
is a list-panel, then
sorted-object-sort-by also calls sort-object-items-by to sort the items with the new sort type. For your own subclasses of sorted-object which are not subclasses of list-panel, if you need this behavior define an
:after method that calls sort-object-items-by. You can also define
:after methods on subclasses of list-panel to perform other tasks each time the items are sorted.
CAPI User Guide and Reference Manual (Windows version) - 25 Feb 2015