Computers are great at analyzing and manipulating information, and especially text. But sometimes, all the power you need is available on a web site without the need for downloading and installing a program.
Which is precisely the case with Text Mechanic (www.textmechanic.com). Paste or type some text into the box, and then press one of the many buttons to choose your weapon. You can sort the lines of text alphabetically or by length. You can add a string to the start and/or end of each line. You can count characters, words, lines etc. And there are dozens more options too, all of which are easy to use.
So next time you have some text that you want to analyze, or perhaps a list of filenames that you need to manipulate into a complex batch file, give Text Mechanic a try.