Difference between revisions of "Ar SortAlpha"
Jump to navigation
Jump to search
imported>CSbot (Automated import of articles) |
imported>QQuix (Organizing the Array Functions category list) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| origin = OBSE | | origin = OBSE | ||
Line 20: | Line 19: | ||
[[Category:Functions (OBSE)]] | [[Category:Functions (OBSE)]] | ||
[[Category:Functions (OBSE v0017)]] | [[Category:Functions (OBSE v0017)]] | ||
[[Category:Array | [[Category:Array Functions (OBSE)]] |
Latest revision as of 11:25, 18 September 2010
< [[::Category:Functions|Category:Functions]]
A function added by the Oblivion Script Extender.
Syntax:
(sortedArray:Array) ar_SortAlpha toSort:array sortDescending:bool
Sorts the elements of an array alphabetically in ascending or descending order and returns a new Array containing the elements in sorted order. Ordering is case-insensitive. Unlike ar_Sort, ar_SortAlpha does not require elements to be of the same type - numeric elements are converted to a string representation, and forms are sorted by their names (if named) or the string representation of their formIDs. Omitting the optional parameter causes elements to be sorted in ascending order.