Sort array numerically

/ Published in: ActionScript 3
Save to your folder(s)

Quite trivial but can be needed sometimes. At least I know where to look when i'll forget it

Copy this code and paste it in your HTML
  1. myArray.sort( Array.NUMERIC );

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.