publish order stays correct

fixes #2500