to sort an array of numbers NOT as strings using the. sort()

Hello

y at - it a function or a simple way to sort an array of numbers in the order of their values and not as strings? For example, 100 came AFTER 9; (9, 100) (100, 9).

Thank you.

Use the ARRAY.numeric parameter.

(and you can still use a custom for kinds more custom sort function parameter).

Tags: Adobe Animate

Similar Questions

Maybe you are looking for