Hi, I'm sorry but I am not a native english speaker, so please forgive the poor question: Huh?!
What're you trying to do? Do you want to read the file and make a sorted output with the highest nr on top? Or otherways? As I assume your problem is that 00001 is smaller than 99999, but should be above it, because it's next?