Re-order shift and check.