sort attributes for consistent output
Merge pull request #1 from avaris/attribute-order

sort attributes for consistent output