#include <bits/stdc++.h> using namespace std; int main() { int m,n; cin>>m; while(m--) { string x = ""; cin>>n>>x; sort(x.begin(),x.end()); cout<<x<<endl; } return 0; }