A machine for packaging stacks of articles into containers using selectors for grouping the article stacks. The selectors include arrays of vertically spaced wedge members which engage the articles in each stack. The wedge members are aligned with slots in comb-like guide rails and operate to form groups of predetermined numbers of stacks of articles while keeping the articles in each stack in vertical alignment as they progress through the machine into the containers.