American Express Interview Question

Basic string manipulation problems ex: how to sort characters of a string in lexicographical order