O__sortMultiArray
Purpose: To sort an array by ascending or descending order.
Type: Server-side function
Inputs:
- $O__arrayIn: The array to be sorted.
- $O__sortKey: The string to be sanitized.
- $O__order: The order to sort the array. Use "a" for ascending; otherwise, it will default to descending.
Outputs: The inputted array will be returned as a sorted array.
Use Case: Whenever an array must be sorted.
Examples:
- Placing the sorted array into a new variable: $mySortedArray = O__sortMultiArray($arrayToBeSorted,???,a);
Version Documented: 20170504