IP routes have "metrics", which can be used as an order value for otherwise equivalent routes. Most operating systems try to assign those intelligently – for example, if you can access the Internet over both wired Ethernet and wireless WiFi, you will have two "default" routes, but the wired one will have a lower metric and will be preferred.
$ ip -4 route
default via 192.168.1.254 dev eth0 proto static
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.115 metric 1
192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.183 metric 2
(This is not a very good example, since both eth0 and wlan0 are connected to the same network, with the same default gateway. With multiple ISPs, you would see two default routes.)
On Linux you can list routes by ip route or route -n; on Windows – route print.