Form biggest num

hey! This is my code of form biggest number.
But i am getting wrong answer at my submission
can you please see what is wrong.

@raashi31 hey Raashi your compare function is not right.

@jaiskid
we have to sort in lexicographically decreasing order …ryt?
also the output is correct for test cases i tried

@raashi31 hey raashi let consider this case
1
8
1 34 3 98 9 76 45 4
your output is wrong
989764543431
but output should be
998764543431