I've got a list of names in a MySQL table. I output these names to a multi select box using PHP. Now i'd like to be able to re-arrange those names in the list by first selecting a name with the mouse, and then use either a button named "Move up in list" or one named "Move down in list". I have no idea on how to do this though, and I've tried finding a script on the 'net that does something similiar, with no luck. So now I turn to you guys =).
Also, after having re-arranged those names, I'd like to be able to submit the form and pass the list of names back to PHP so I can update the table in MySQL.