无脑调用标准库

#include<iostream>
#include<string>
#include<algorithm>

int main()
{
    std::string stmp;
    std::cin >> stmp;
    std::sort(stmp.begin(), stmp.end());
    std::cout << stmp;
}