Wow - thanks for the quick reply kichik.
Ok, I'll look around and see if i can find an external sort program that i can use.
Man - I just tried the 'sort' command on xp and it worked beautifully, I wonder if it'll work on other win32 though: win95 and up.
I was trying to think of how to do an insertion sort from within NSIS on my unordered output file, but wasn't gettng very far...
weird without arrays of strings. :P
Do you think it would be possible to efficiently sort an unordered file from NSIS kichik (i.e. with fileread, strcmp etc.), or no?
I like to do everything from NSIS as much as possible, plus I'll have to try and hide the DOS window with external 'sort' - I think I saw some threads about that.
Anyway, thanks again for your help, I appreciate it.
(Edit: win32GNU sort works great too, plus the syntax is more familiar to me
(Edit: nsExec seems to be the trick to hiding dos windows - this forum is great.