How to make a Copper Golem and sort items with it
It ignores Barrels, Ender Chests, Shulker Boxes, the Minecart with Chest and items lying on the ground.

The Minecart with Chest holds 27 stacks like a chest, and mineshafts hide loot in them. It is a Minecart carrying a block, which rolls on rails like any cart.
It is made with the Crafting Table from Chest and Minecart.
Most of these carts are crafted by combining a minecart with their block, and breaking one drops the cart and the block separately. They cannot carry a passenger, but they can be pushed by other carts and sent through powered and detector rails.
On an Activator Rail, each cart reacts in its own way, which is the basis of many rail-based machines.
Chest + Minecart → Minecart with Chest
// Slots with several items cycle through every accepted option.
It ignores Barrels, Ender Chests, Shulker Boxes, the Minecart with Chest and items lying on the ground.
At the Crafting Table: 1 × Chest and 1 × Minecart give 1 × Minecart with Chest.
It is a minecart that carries a working block along the rails.
No: only one per inventory slot.