You know you can just set the Mass Storages and Item Barrels to NOT keep their Filter, right? That will definitely do a FIFO if you just stack 2 or 3 of them with Auto-Out to bottom.
Also Queue Hoppers do exist if you want a Slot based FIFO.
Edit: And I cant really think of how to do a proper LIFO though