Sort items before serializing to minimize diff
Merge pull request #182 from dnnr/serialize-sorted

Sort items before serializing to minimize diff