python sort函数秒杀
图片整理
http://www.nowcoder.com/questionTerminal/2de4127fda5e46858aa85d254af43941
if name == 'main':
while True:
try:
s = raw_input()
list = sorted(s)
strs = ''
for i in range(len(list)):
strs= strs+list[i]
print strs
except:
break