usually when u have a database it never mantion about the position of the song like u will have a table " ranking "
with these kind of fields
id must be primary key
title title of the song
singer .....
company .....
order what is the ranking of the song is
and when you create a script to change the ranking of the songs which modify the order field of the song , ( but you can end up with the two ranks with the same song) so better change all of them at the same time like 1 to 10 ro 20 in one form ......
i am not sure how to explain it ( if i undertsand your question right ), but if you can elaborate what you want to do want might be i can explain you
enjoyyyy