Form biggest number

how can i do this question
just give a small hint

@sktg99
If you look closely , you just have to sort the numbers in lexicographical order and print them. Rather than looking at them as integers , look at them as strings and sort them lexicographically.