sort a string alphabeticallly