public void QueueMoveForward(ObjectInstance inst) { ClearFromLists(inst); int index = _objectSource.ObjectIndex(inst); _objects.Add(new ObjectRecord() { Instance = inst, PrevIndex = index, NewIndex = Math.Min(index + 1, _objectSource.ObjectCount - 1), }); }