Form Biggest Number wrong answer in a test case

https://hack.codingblocks.com/contests/c/452/1291
https://ide.codingblocks.com/#/s/14216

Hey amritanshu ! your code is not working for the following test case -->>
1
4
100000 99999 99998 99997
So try to fix these first !
(Hint -> Store all inputs in an array of string and sort it taking care of the which number should appear first )

I have updated the code but still i’m getting wrong answer
https://ide.codingblocks.com/#/s/14216

Actually you are making li’ll mistake in comparision while sorting . Np try with this , you will be able to understand this easily !
https://ide.codingblocks.com/#/s/14271
fine now ??