Write the tree nodes in alphabetic order

Using alphabetic order make the file easier to parse/edit.
Merge pull request #1 from KraYmer/patch-1

Write the tree nodes in alphabetic order