Why that topic got closed?

How to use sort for large digits in cpp?

this is not ongoing contest question
why got flagged

Idk, but input it as a string, then you can easily update it and also add leading 0s, so that length becomes equal, then you can use the inbuilt sort.