I am currently working on some calculations with some larger numbers of molecules, and one of the tricks I use for that is ORCA’s fragment specification option. This is a pretty useful thing for larger optimizations, but I find myself needing to be very careful with how I create input files since Avogadro doesn’t seem to have any really specific method for ordering xyz coordinates. I recently realized that since Avogadro is able to identify individual molecules, it could most likely have some sort of method to sort the index of every atom such that the molecules were grouped together.
I also think that perhaps there could be a second level of organization, i.e. within a molecular fragment it could have the atoms listed by atomic number. That would be mostly a QOL thing though.
Edit
I do have a quick(ish) workaround that does reorganize things the right way, however it would be nice if it could be done automatically!
The basic idea is that you just make your molecular cluster normally, then copy and paste each individual molecule into a new file, and the molecules will be ordered properly. I’ve included an example of what this looks like, using a crystal structure to start, and then just copy and pasting each individual molecule into a new file.