Sort Lines (editplus style sort)
Submitted by Thursday, 11 May, 2006 - 08:03
on
I wrote a macro to sort lines of selection or whole buffer.
After I finished it I found there is another sort lines macro here. (Oh! why I don't search it before write this one. )
But my macro is more powerful than the one exist, though the dialog of that one is more pretty.
This is just similar to the sort function in Editplus 2.
Features:
Or view the download page here -> download page.
Or you like the old one created by Pascal Dal Farra.
After I finished it I found there is another sort lines macro here. (Oh! why I don't search it before write this one. )
But my macro is more powerful than the one exist, though the dialog of that one is more pretty.
------------------------------------
Here is the description of my macro, just like the sort tool in editplus 2.
This is just similar to the sort function in Editplus 2.
Features:
- Order - Either ascending order or descending order.
- Starting column - Enter a column number from which the sorting operation begins. The text before this column number will be sorted when string after the column is the same. Enter an integer value great than or equals to 1.
- Case sensitive - The case-sensitive comparison option.
- Remove duplicates - Remove any duplicated line after the sorting option.
Or view the download page here -> download page.
Or you like the old one created by Pascal Dal Farra.