American Express Interview Question

Sort a string alphabetically. Print a number pyramid pattern.