The function rearranges the characters in a string in alphabetical order.
[CODE]:

def f(x):
    return ''.join(sorted(x))