categorize nested stories underneath their ancestor portfolio items in the grid