Swaps two elements separated by a comma.