using System;
using System.Collections.Generic;
using System.Linq;
public class Test
{
public static void Main()
{
string s="TestMEpleseAndCry";
var a=string.Concat(s.Select(c=>""+c).OrderBy(x=>x));
Console.WriteLine(a);
}
}
dXNpbmcgU3lzdGVtOwp1c2luZyBTeXN0ZW0uQ29sbGVjdGlvbnMuR2VuZXJpYzsKdXNpbmcgU3lzdGVtLkxpbnE7CgpwdWJsaWMgY2xhc3MgVGVzdAp7CglwdWJsaWMgc3RhdGljIHZvaWQgTWFpbigpCgl7CgkJc3RyaW5nIHM9IlRlc3RNRXBsZXNlQW5kQ3J5IjsKCQl2YXIgYT1zdHJpbmcuQ29uY2F0KHMuU2VsZWN0KGM9PiIiK2MpLk9yZGVyQnkoeD0+eCkpOwoJCUNvbnNvbGUuV3JpdGVMaW5lKGEpOwoJfQp9