I need some help figuring out the algorithm for designating a sort order on objects which are removable from the database. I would normally use integers to denote sort order, however with removable entries this does not seem efficient.
Example: I have a list of projects and want to order them depending on their importance. The projects can be cancelled, thereby removing them from the list. Using integer numbers will leave gaps when a project is removed. A linked list would be the best application, however can this be done in a database?
Example: I have a list of projects and want to order them depending on their importance. The projects can be cancelled, thereby removing them from the list. Using integer numbers will leave gaps when a project is removed. A linked list would be the best application, however can this be done in a database?