Function.Intrinsic.Variable.UDTMultiQuickSort

From GAB Help
Jump to: navigation, search

This function sorts elements within a UDT array (local or global), given multiple UDT Elements and an associated Descending boolean. Setting Descending as True for a UDT element will sort that element in descending order. Setting it to False will sort in Ascending order. The order of sort priority will go from left to right, with the first element having the highest sort priority.

Syntax

Function.Intrinsic.Variable.UDTMultiQuickSort(UDT name!element 0, Descending 0 [Boolean], UDT name!element N, Descending N [Boolean])

Arguments

UDT Name!Element 0...N

Match Value 0...N

Descending 0...N

[Boolean]

Example

Function.Intrinsic.Variable.UDTMultiQuickSort(Variable.uLocal.uVendorObjCopy!VendorID,False)

Remarks