Cisco Interview Question

About strings and arrays and how to sort them