If you mmean sorting on a group of columns, like col. 1-15, then yes, just select the rectangle based on them.
If you mean several groups of consecutive columns, then you can do it by sorting on the ineer key first, then the key above and so forth. So, to sort by group 1, then by goup 2, then by group3, you should first sort according to group3, then to group2, then to group1.
Sorting on the aggregate value of disconnected sets of columns is just a special case of the above.
CChris
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Select the column as a rectangle, then use TextFX sort functions. This will sort the lines according to the column.
If you want to only sort the column, copy it, paste it on a new document, sort it, then use TextFX Paste and Replace function to overwrite the old column.
CChris
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Make a rectangular selecion covering the area to use as a sort key. Like column 12-20, extended to the whole file if you wish.
Then select your options on the TextFX -> TextFX Settings, and then from the same menu Sort.
CChris
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
How do I sort a column?
Thanks
Is there a way to sort multiple column sets?
It depends on what sorts of sets.
If you mmean sorting on a group of columns, like col. 1-15, then yes, just select the rectangle based on them.
If you mean several groups of consecutive columns, then you can do it by sorting on the ineer key first, then the key above and so forth. So, to sort by group 1, then by goup 2, then by group3, you should first sort according to group3, then to group2, then to group1.
Sorting on the aggregate value of disconnected sets of columns is just a special case of the above.
CChris
Select the column as a rectangle, then use TextFX sort functions. This will sort the lines according to the column.
If you want to only sort the column, copy it, paste it on a new document, sort it, then use TextFX Paste and Replace function to overwrite the old column.
CChris
cchris
Thanks-I just need to know how to select the text as a rectangle.
Alan
Alt-click on a corner of desired selection, and then drag mouse to the other corner, while Alt is being depressed.
You can further use Alt+Shift+arrows or other to modify such a rectangle. You can even start from no selection at al with this method.
Some more tricks in http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=Moving_And_Selecting_Around
CChris
Ditto. I wish someone could explain how to sort a file using some other column other than 1.
Make a rectangular selecion covering the area to use as a sort key. Like column 12-20, extended to the whole file if you wish.
Then select your options on the TextFX -> TextFX Settings, and then from the same menu Sort.
CChris