
Put a Sorting Plate at the door of your base and walk in. Everything you are carrying that your chests already stock goes straight back where it belongs and you watch it fly there.
An item is moved into a container only if that container already holds that exact item.
No lever. No wiring. No redstone. Place it and it works.
Right-click any plate to open its filter screen.

Drop items into the eighteen slots to name them.
Then pick a mode with the button underneath:

The bottom row is what decides which plate you get: oak planks for the oak plate, gold ingots for the gold one, and so on. The hazard-striped original takes smooth stone.