Fixed an ordering issue with the DmgDistPerAssetXMLWriter

This is needed to be consistent with the changes in https://github.com/gem/oq-engine/pull/1026