swap argument position in range