Cisco interview question

Sorting strings in array and also individual string letter sorting.