Selecting Multiple Images from a Preset List of Categories

Hello. I am conducting a categorization norming task, and would like to know how to make sure that four images from the same category are being pulled (there are a total of 16 exemplars per category). I have well over 300 base categories, so I’m leery at attempting to hardcode it. What is a way that I can use Coder to display the images in the four quadrants and have each loop be a different category?

Let me know if you need more information or if you clarification!