Re-order type parameters.