Try a little more detail. It is quite hard to follow this kind of explanation. Do you need to sort text inside a file? Or sort output of file names? or something else altogether?
--------------------------------
An idea is not responsible for the people who believe in it...
Comment on Re: How to get a value from a file and save in another file