I have something like a link list, where a user itself can define, in which order those links are displayed ( depended on their needs, preferences )... so they
can for example drag the last link and drop it somewhere between the rest of the links..
this rank order has to be stored somehow in my DB, hence the same order can be displayed when the user stops by the next time..
First I thought about a INT field 'rank', where the actual rank number (i.e. 1, 2, 3 etc.) is stored.. but that turned out to be crappy..

because almost everytime the user drag & drops a link, I have to change a lot of records to keep the data integrity..
Then I had another idea.. change that INT field 'rank' to a FLOAT field. when a user now drags a link and drops it between two other links, I only fetch the rank number of those two links, take the average (sum up, divide 2) and this is my new page rank..
but I'm not overhappy with this solution... I think, there must be something else..
anyone can help??
thanks in advance
