That’s what I currently do, but is prone to copy/paste errors.
since we already have block operations in the IDE (e.g. comments) a sort can be a nice addition
Agree. I regularly use UltraEdit to edit my .b4a and .bas files both from B4X IDE and UltraEdit, and both update the changes done from another.
I use UltraEdit for macros and scripts I have in it for text file manipulation.