I have a small question. There is the function, which builds the interface from elements in Array.
After clicking on the button I want to rebuild the interface with the new elements order. The question is: how to run this function again? Thanx
If you encapsulate the top bit in a function, you can call it with the required parameters.
A very quick demo - http://pastebin.com/bkyQvRne