Cisco interview question

how do you sort a list