Its a big bug with the sorting..
Tried both tubes and pipes and it works for a while but suddenly they will all go back to overflow chest and if u try to put them in manually they will say "this item is diffrent"
Another problem is that u cant sort manually enchanted books with the ones u get...