Controlling order of sub elements. Might fix #14 too