Search
.sort()
Sort the elements of names alphabetically, and store them in sortedNames.
names
sortedNames
Note that the names array should not be mutated.
For example: