The two SSIDs are different, right?
If you use wifi repeater to connect two different SSIDs, now there is no way to configure priority like you said.