Skip to content

Instantly share code, notes, and snippets.

@kwmiebach
Last active April 16, 2019 15:30
Show Gist options
  • Save kwmiebach/d88ce5d8e52b2182b505 to your computer and use it in GitHub Desktop.
Save kwmiebach/d88ce5d8e52b2182b505 to your computer and use it in GitHub Desktop.
Reverse line order / sort lines backwards in notepad++

Source: http://superuser.com/a/392313/44402

If TextFX is not in the Main Menu:

Plugins » 
  Plugin Manager » 
    Show Plugin Manager 
Check "TextFX Characters"
Click Install

Reverse line order / sort lines backwards in notepad++:

Edit > Select All
TextFX > TextFX Tools > Insert Line Numbers
If TextFX > TextFX Tools > +Sort ascending is checked, uncheck it
TextFX > TextFX Tools > Sort lines case sensitive (at column)
TextFX > TextFX Tools > Delete Line Numbers or First Word

credit goes to kalpesh http://superuser.com/users/148244/kalpesh and gnubie http://superuser.com/users/71125/gnubie

@elupin
Copy link

elupin commented Apr 16, 2019

This works well but blows up if I try to create a macro. What is wrong with using TextFx in a macro?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment