This is a very common problem in manufacturing plants even to this day. The proper process is called FIFO — first in, first out.

For durable goods (like rifle barrels!) it’s not a huge problem,...