Maintain section ordering when saving file