Change ordering of doc elements