BIS fnc sortAlphabetically: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3>" to "") |
Lou Montana (talk | contribs) m (Text replacement - " {2,}\}\}" to " }}") |
||
Line 20: | Line 20: | ||
| [[BIS_fnc_sortBy]], [[BIS_fnc_sortNum]], [[sort]] | | [[BIS_fnc_sortBy]], [[BIS_fnc_sortNum]], [[sort]] | ||
}} | }} | ||
Revision as of 00:20, 19 January 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