That's absurd - attributes are order-insensitive. Any compliant DTD validator (e.g. xmllint) accepts the XML as-is. If you're going to change it though, flip the order in the DTD around. The tag is the identifier.
There is also no harm done or technical debt incurred to MAME or the XML standard to output things in the order QMC2 expects.