Search
The function sortCapitals should return an alphabetically sorted list based on the capitals of each state.
sortCapitals
For example: