Control ordering of error messages