Ok, thanks for the information. I think I will do it differently:
I’m making a static HTML page that contains the categories. My categories never change, so that’s no problem. From this page I link to single pages. A category is called up on each individual page. I can put the search terms in the single page. I call Connections with shortcode attributes. Custom entry order I already have. This should work. Do I have a thought-failure?