Swap function order.