Hello,
i am trying to figure out a way to let the user sort records (etc a list of friends).
I want to give the user the opportunity to move a record (friend) straight to the top or bottom of the list, or by entering a number (in between).
First i thought of just adding a column called SortOrder (int) to the table with all the users friends and set the number according to which order the records should be shown.
But what i am trying to avoid is that etc a user have 400 friends, and if he wants to set friend number 400 to be at position 1 in the list, then i will have to update every single record with a new SortOrder.
All data is stored in a MS Sql database.
I hope someone out there have a magic solution for this ?