Run ❯
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
JavaScript Arrays
The Array.sort() method sorts the elements of an array.