Sort output as it appears in the XML input

The order triggers appear in the output rates will be the same as they are in the input menu file.