How to change network connection order?
Go to your System Preferences → Network.

Alternatively, you could click the WiFi icon in the menu bar, then choose Open Network Preferences.

In the preference pane, you can make your Mac prefer Ethernet connections over WiFi, for example, or the other way around.



If you click the “settings” symbol next to the + and - buttons, you’ll be able to select “Set Service Order”:



If you continue to WiFi → Advanced you can set the order of WiFi networks specifically by dragging them around: