Sorting book bags in the stacks