priority swap