I was wondering if anyone has a good solution to a problem I\'ve encountered numerous times during the last years.
I have a shopping cart and my customer explicitly
How about using a linked list implementation? Having one column the will hold the value (order number) of the next item. I think it's by far the easiest to use when doing insertion of orders in between. No need to renumber.