JS

JavaScript Sorting Arrays

The sort() method sorts an array alphabetically: