Skip to main content

sorting

Parameters

NameTypeCommentKind
executeBOOL-input
orderSortingOrder-input
comparatorCNM_CollectionInterfaces.CNM_AbstractObject.IComparatorOptional: the comparator that should be used for the sort. Must not be changed while sort is in processinput

Code

Declaration

METHOD INTERNAL sorting : CNM_ReturnTypes.SingleExecutionState
VAR_INPUT
execute :BOOL;
order :SortingOrder;
(*Optional: the comparator that should be used for the sort. Must not be changed while sort is in process*)
comparator : CNM_CollectionInterfaces.CNM_AbstractObject.IComparator := 0;
END_VAR