I used advanced search to search for any existing topic about editing ahx files and could not find any.
Tonight I edited a backup copy of my main ahx file using NotePad by cutting and pasting to sort the rooms and macros in the order I want to see them displayed in the left pane of AHP. That is, I cut and pasted XML tag thru XML end tag, such as <room> thru </room> and <macro> thru </macro>, making sure to keep the results within the existing <rooms> thru </rooms> and <macros> thru </macros> tags.
I opened the modified file with AHP and it did not seem to "mind" the edits and everything is sorted the way I want it to be. Then I did some modifications and additions in AHP. When I saved the changes, I noticed AHP had preserved the new order of the rooms and macros and assigned the next available ID numbers to the new modules and new room I had added, just as I had hoped.
So, while direct editing with NotePad on the XML ahx file seems to work fine so far and seems like a nice solution for anyone who has wanted a way to sort the left pane of AHP, does anyone know of any "gotchas" that happen when doing this kind of direct editing?
CAUTION: If anyone wants to experiment with direct ahx file editing, be sure you do so on a COPY of your working and tested ahx file. That way if anything goes wrong, you will always have the original file to fall back on.