Actually, there are cases where items are removed an added at the same time (for example, when you click on an item that already exists). The current behavior removes the item and re-adds it at the bottom (which I think is incorrect behavior, hence why I left that TODO note in there).