Edit & Run »
The sort() method sorts an array alphabetically.
Try it