FIFO’s opposite is LIFO, last-in-first-out, where the youngest entry or “top of the stack” is processed first.
Related: First in, first out
Bibliography
“FIFO (Computing and Electronics).” 2022. Wikipedia, August. https://en.wikipedia.org/w/index.php?title=FIFO_(computing_and_electronics)&oldid=1104188471.