JavaScript Arrays

The sort() Method

Click the buttons to sort the array alphabetically or numerically.

testing " 1 2 "