Manual     Reference     Scripting  
  
Scripting > Runtime Classes > Array   
  • Menu
  • Overview
  • Runtime Classes
  • Attributes
  • Enumerations
  • Editor Classes
  • Attributes
  • Enumerations
  • History
  • Index
  • Array
  • All Members
  • Variables
  • length
  • Constructors
  • Array
  • Functions
  • Add
  • Clear
  • Concat
  • Join
  • Pop
  • Push
  • RemoveAt
  • Reverse
  • Shift
  • Sort
  • Unshift

Array.Sort  

function Sort () : Array

Description

Sorts all Array elements

var hello = new Array ("c", "a", "b");
hello.Sort();
print(hello);
// print's a, b, c