I have a list of songs like this:
[url removed, login to view]
These have ids which is stored in a hidden field <input type='hidden' name='ids' value='886,806,883,'>
Make a script which enables the user by draging and droping the songs to change the order of them. If the user drags song3 to place 1 the new values in the hidden fields should be <input type='hidden' name='ids' value='883,806,886,'>. This must work for up to 20 songs.