You prioritize the agents by dragging them up/down to put them in the order you want.
Here’s everything you need to do to give local metadata top priority: