#include<bits/stdc++.h>
using namespace std;
bool compare(int a,int b)
{
if(a>b)
return a;
else
return b;
}
int main() {
int T=0;
cin>>T;
for (int i= 0; i<T;i++)
{
int N=0;
cin>>N;
int arr[10000];
for(int j=0;j<N;j++)
{
cin>>arr[j];
//cout<<arr[j];
}
sort(arr,arr+N,compare);
for(int j=0;j<N;j++)
{
cout<<arr[j];
}
cout <<endl;
}
return 0;
}
I would like to know what is the problem in it ?