How to put the top level notes in alphabetical order

How does one stop an agent fetching items from certain locations, such as my “superseded” and “prototype” containers which not live at root level?

So, if my agent is $Prototype==“type_1” but I don’t want to find those “type_1” which are in the superseded container. What do I add to the agent?

Thanks.

BH