A meal's notes were output in the order of insertion and the prices' ordering was machine dependent (dict key iteration order is implementation detail). This meant that the generated XML would practically display notes and prices in random order.
While this isn't important to the end user, this PR's change allows for much easier (unit-)testing of the output of a parser.
A meal's notes were output in the order of insertion and the prices' ordering was machine dependent (dict key iteration order is implementation detail). This meant that the generated XML would practically display notes and prices in random order.
While this isn't important to the end user, this PR's change allows for much easier (unit-)testing of the output of a parser.