I haven't seen anyone on this page making an item sorter using allays, so here I bring one :D I made it mainly for my totem farm (raids), but you can easily adapt it to your common item sorter.

<--------------->

Tutorial on how it works and how to make it: https://www.youtube.com/watch?v=4YjXsdwwgwk&t=1529s Ciao!