Form Biggest Number

You are provided an array of numbers. You need to arrange them in a way that yields the largest value.

Input Format:
First line contains integer t which is number of test case.
For each test case, you are given a single integer n in the first line which is the size of array A[] and next line contains n space separated integers denoting the elements of the array A .

Sample Input:

1

4

54 546 548 60

Sample Output:
6054854654

What is wrong in the code?

you dont have to convert number to integers to deal with them that complicates the code further please try to deal with integers in string format only in this question.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.