- Edited
This should help. Steps to reproduce:
-Open the container
-Move the top right item down 1 slot
-Close and reopen the container, you'll see that the container has "rearranged" itself to have all items at the top again
-take the top right item out into your inventory
-Close and reopen the container, you'll see it has "rearranged" itself and made another item appear
example2
-open container and move all the items down 1 slot
-close and reopen, items are sorted back to the top slot
-take all the items out into your inventory
-close and reopen, you'll see all the items appear back in the top slot while remaining in your inventory
It seems when it "sorts" the container, it never reconciles the original item being sent to your inventory and keeps "sorting" them by duping them if they are moved from you inventory.