Array
.Sort
Manual
Reference
Scripting
Scripting
>
Runtime Classes
>
Array
Array
.Sort
Menu
Overview
Runtime Classes
Attributes
Enumerations
Editor Classes
Enumerations
History
Index
Array
All Members
Variables
length
Constructors
Array
Functions
Add
Clear
Concat
Join
Pop
Push
RemoveAt
Reverse
Shift
Sort
Unshift
function
Sort () : Array
Description
Sorts all Array elements
var
hello =
new
Array (
"c"
,
"a"
,
"b"
);
hello.Sort();
print(hello);
// print's a, b, c