{"name":"BIS_fnc_sortAlphabetically","title":"BIS fnc sortAlphabetically","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_sortAlphabetically","revid":348643,"updated":"2023-11-08T13:48:23Z","groups":["Arrays","Strings"],"status":"ok","games":{"arma3":"1.10"},"since":"arma3 1.10","arma3_since":"1.10","description":"Alphabetically sort an array of strings without modifying the original. See also sort.","syntaxes":[{"syntax":"arrayOfStrings call BIS_fnc_sortAlphabetically","params":[{"name":"arrayOfStrings","type":"Array of Strings","type_expr":"Array<String>"}],"returns":{"type":"Array of Strings","type_expr":"Array<String>","description":"sorted alphabetically.","text":"Array of Strings sorted alphabetically."}}],"examples":[{"code":["private _sortedNames = [\"John\", \"Jane\", \"Julia\", \"Geronimo\"] call BIS_fnc_sortAlphabetically; // will return [\"Geronimo\", \"Jane\", \"John\", \"Julia\"]"]}],"see_also":["BIS_fnc_sortBy","BIS_fnc_sortNum","sort"]}