Python一行解决、

while True:
    try:
        print(''.join(sorted(input())))
    except:
        break