Swap type order.