How to Sort Text Using Notepad++

Notepad++ is a free source code editor and Notepad replacement that supports several languages. Running in the MS Windows environment, its use is governed by GPL License. For one reason or another, the process for sorting text within Notepad++ seems to elude me. Some text editors have a plugin that is easy to identify, well so does Notepad++, when you know where to look. Here is a quick that works well. In a few ‘easy’ steps, text can be sorted either descending or ascending.

Open or create a text file. Below is an example of 11 lines with random text.

notepadplus01

Select all text with either CTL+A or Edit > Select All

notepadplus02

Go to TextFX > TextFX Tools > Sort Lines case insensitive (at column)

notepadplus03

The result, is a descending order of text.

notepadplus04

To sort ascending, go to TextFX > TextFX Tools > +Sort ascending then go to TextFX > TextFX Tools > Sort Lines case insensitive (at column)

notepadplus05

The result, is an ascending order of text.

notepadplus06

Reference(s)
http://forum.iranjava.net/general/108343-how-sort-text-notepad.html