I am in the process of sorting an AutoHotkey script's contents so as to make it easier for me to find and view its nearly 200 buzzwords (when I forget which one corresponds with what phrase, which I do now and then).
About half to two-thirds of the script's key phrases correspond to locations (see example data). These are the ones I've been trying to sort first.
My data looks like this:
;Canyon
::grand::
Send, Canyon
Exit
;Elevator
::lift::
Send, Elevator
Exit
;Office
::9to5::
Send, Office
Exit
;Cabin
::log::
Send, Cabin
Exit
;Desert
::sahara::
Send, Desert
Exit
;Front door
::welcome::
Send, Front door
In order for this data to work in the AHK script once it's sorted, it has to remain multi-line. I admit I'm somewhat bummed because the sort command works line-by-line and is not appropriate for what I want to do.
So what would be a good method for sorting just these groups of 4 lines (for example), by the first line in each one, as they stand?
BZT