re-order exceptioncontext so registers match order in exception handlers