Programmers know how hard it is to accomplish this: finding an item, picking it up and moving it to an inventory, equipping it, removing it from your inventory, resorting the inventory, showing the result on your avatar, unequipping the item, and show that on your avatar and in your inventory...