How to use sort for large digits in cpp?

Can you specify what’s the issue?

how to solve question given above.?
question order is page 2 then page 1

the problem is
each number can have length 100 so how we wll sort numbers at last

Just post a link to the question, dude.


actually this was in a online test in hakerrank.I took a screen shot during test.

in google question link–

Flagged as inappropriate by community.