Moving form elements to Up and down

Hi all…

I had created one form builder,only can add text boxes. now i need to give an option to the user to move the the element to up or down dragging it.

How it can be possible…

if any one knows about this , plz help me…

thank you…

go through with this link:

i think it solves your problem

http://www.yiiplayground.cubedwater.com/index.php?r=UiModule/jui/ziiDraggable