This PR ensures the modules written by makeBarrelConfig.py are in the same order as the input files. This is needed because generator_hdl.py assumes the order of the processing module categories is the same as the order they are run in, i.e., all the IRs are first in processingmodules.dat, all the VMRs are second, etc.
This PR ensures the modules written by makeBarrelConfig.py are in the same order as the input files. This is needed because generator_hdl.py assumes the order of the processing module categories is the same as the order they are run in, i.e., all the IRs are first in processingmodules.dat, all the VMRs are second, etc.