JavaScript Array Sort

Click the buttons to sort the array alphabetically or numerically.