reorder param type and name