Button position swap

i have four buttons, and another button to swap the position of the button that is selected. the button i select should move up and the one which was there should move down.

ifn any one has solution to my problem then pls mail me aryanhigh@yahoo.co.in