摘要 |
The present invention discloses a solution for establishing position values of new items in an ordered list at either the start or the end of the list without using of markers and without needing to query all the items of the list. In the solution, a command to add a new item to the ordered list can be received, which specifies whether the item is to be added at the start or the end of the list. When the item is to be added to the end of a list, an item position value for a new item can be set equal to a current value of a time element. Otherwise, it can be set equal to negative one times the current value of the time element (assuming smallest to largest ordering). Mathematical derivates that produce the same effect are contemplated.
|