BIS fnc sortAlphabetically: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) m (Text replacement - "\|game([0-9])= *([^ ]+) * +\|version([0-9])= *([^ ]+) * " to "|game$1=$2 |version$3=$4 ") |
||
Line 2: | Line 2: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 1.10 | |version1= 1.10 | ||
Revision as of 10:16, 14 June 2021
Description
- Description:
- Alphabetically sort an array of strings without modifying the original. See also sort.
- Execution:
- call
- Groups:
- ArraysStrings
Syntax
- Syntax:
- arrayOfStrings call BIS_fnc_sortAlphabetically
- Parameters:
- arrayOfStrings: Array of Strings
- Return Value:
- Array of strings sorted alphabetically.
Examples
- Example 1:
_sortedNames = ["John", "Jane", "Julia", "Geronimo"] call BIS_fnc_sortAlphabetically; // will return ["Geronimo", "Jane", "John", "Julia"]
Additional Information
- See also:
- BIS_fnc_sortByBIS_fnc_sortNumsort
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note