Cisco interview question

Sort a list in alphabetical order