BIS_fnc_sortAlphabetically
- Arma 3 v1.10
Function · also in Strings · Markdown · JSON · original wiki page
Description
Alphabetically sort an array of strings without modifying the original. See also sort.
Syntax
arrayOfStrings call BIS_fnc_sortAlphabetically
Parameters:
Returns: Array of Strings sorted alphabetically.
Examples
Example 1
private _sortedNames = ["John", "Jane", "Julia", "Geronimo"] call BIS_fnc_sortAlphabetically; // will return ["Geronimo", "Jane", "John", "Julia"]