 class="n">ordered_ids</span> <span class="o">=</span> <span class="nb">list</span><span class="p">(</span><span class="nb">set</span><span class="p">(</span><span class="n">original</span><span class="o">.</span><span class="n">ids</span><span class="p">)</span> <span class="o">-</span> <span class="n">ids_to_remove</span><span class="p">)</span>
<span class="n">recreated</span><span class="o">.</span><span class="n">add_items</span><span class="p">(</span><span class="n">original</span><span class="o">.</