Skip to content

Instantly share code, notes, and snippets.

@mbolt35
Created November 1, 2012 02:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mbolt35/3991291 to your computer and use it in GitHub Desktop.
Save mbolt35/3991291 to your computer and use it in GitHub Desktop.
var vec:Vector.<int> = new <int>[ 1, 2, 3, 4, 5 ];
vec.sort(Array.DESCENDING);
trace(vec);
// Outputs: 5,4,3,2,1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment