swaps order of buttons