Fixed ordering bug in the XML export of gmf_scenario

See https://bugs.launchpad.net/openquake/+bug/1152172