Inventory changing order when selling

Itens change order when selling an item, so if you press to sell too quickly you might sell something important >.>

was selling a bunch of itens and the inventory reorganized several times mid trade, it was a very intense experience to no sell my beloved knifes by mistake