A tortilla stack indexer having an exit conveyor which has a exit conveyor motor engagably attached thereto. Other aspects are described and claimed. The sequence of the Boxes is defined in link information. By the repetition of the procedures until the long codes in a group becomes one, the long code is identified.