I have a txt file with ca. 3000 name entries on each line. I want to list them in alphabetical order. Is there any way i can do this via some text editor so that i don't have to manually go through all the names in the list?
Thanx in advance!
|
I have a txt file with ca. 3000 name entries on each line. I want to list them in alphabetical order. Is there any way i can do this via some text editor so that i don't have to manually go through all the names in the list? Thanx in advance! |
|||
|
|
|
PSPad has a line sorting feature: Edit -> Sort... ConTEXT has a similar sorting feature. Or if you can cope with Vim, that has a built-in sort command which works on a range of lines, or on the selected text. |
|||
|
|
|
You can use a simple command that's included with Windows XP (as that's what I'm assuming you're running from your tag) called It's as simple as running |
|||||||
|
|
If you want to write a program... pseudocode (assumes each name is on its own line):
|
|||
|