Delete swapElements