Swap multiple ids