XmlElement has an \"Order\" attribute which you can use to specify the precise order of your properties (in relation to each other anyway)
If you are creating the XML dynamically, try changing the order in which you append the attribute to the node and it should work :)