In this video, a brief explanation about FIFO (First In Firt Out) and LIFO (Last In First Out)
FIFO is prefered to LIFO when the order is important, especially regarding risk of obsolescence or decay of goods stored. Sometimes, even FIFO is prefered, the physical constraints cannot avoid LIFO.