- Found in:
- Dylbills PE
Description
Documentation Comment
Sort the array from smallest to largest or vice versa.
Note that if Direct == true (default) this affects the passed in akArray directly.
So no need to do MyIntArray[] = SortIntArray(MyIntArray)
Can just do: SortIntArray(MyIntArray)
If Direct == false, it first copy's the array, sorts the copied array and returns the copied array so the passed in akArray is unaffected.
If Direct == false, passed in akArray must be less than or equal to 128 elements in length.
Parameters
string[]akArray
boolAscending=true
boolDirect=true
Examples
Auto-Generated Example
string[] myStringArray__akArray
bool myBool__Ascending
bool myBool__Direct
string[] returnedValue = myDynamicStringArrays__toCallFunctionOn.Sort(myStringArray__akArray, myBool__Ascending, myBool__Direct)