I found
"Order of Attributes" The order of attributes in an XML instance is not preserved. When you query the XML instance stored in the xml type column, the order of attributes in the resulting XML may be different from the original XML instance."
from a link https://msdn.microsoft.com/en-us/library/bb510442.aspx
Q1) does that mean elements like following will not have any order that means I may get xyz1 then xyz. Or it will be ordered?
xyz
xyz1