Always choose the neighbour who's alphabetically first, when left with no neighbours go back to the previous country and follow with the neighbour that is second.
Start with the first alphabetically country
verseas borders are considered: UK-Spain, Spain-Morocco, France-Netherlands, France-Brazil/Suriname.
Dubious borders: India-Sri Lanka, Malaysia-Singapore and Denmark-Sweden border are considered, Qatar-UAE isn't