Just shooting out a thought, but as a simple mechanism, couldn't you just have an auto-increment value on each sphere, along with an indication of add/remove, as a form of simple timestamp. Then all...