0
Engaged
,
/t5/animate-discussions/using-sort-to-sort-an-array-of-numbers-not-as-strings/td-p/6028246
May 03, 2014
May 03, 2014
Copy link to clipboard
Copied
Hi,
is there a function or simple way to sort an array of numbers in order of their values and not as strings? E.g, have 100 come AFTER 9; (9, 100) not (100, 9).
Thanks.
TOPICS
ActionScript
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
1 Correct answer
Community Expert
,
May 03, 2014
May 03, 2014
use the ARRAY.numeric parameter.
(and you can always use a custom sort function parameter for more customized sorts.)
Community Expert
,
LATEST
/t5/animate-discussions/using-sort-to-sort-an-array-of-numbers-not-as-strings/m-p/6028247#M209025
May 03, 2014
May 03, 2014
Copy link to clipboard
Copied
use the ARRAY.numeric parameter.
(and you can always use a custom sort function parameter for more customized sorts.)
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

