BIS_fnc_sortAlphabetically

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 1.10
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.10

Description

Description:
Alphabetically sort an array of strings without modifying the original. See also sort.

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

Execution:
call
Multiplayer:
-
See also:
BIS_fnc_sortByBIS_fnc_sortNumsort

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section