Re-order to optimise compression