YesYou can match any sale with any purchase (provided of course, you only match a sale against and earlier purchaseNo idea where you got FIFO from