Legally, you have to get it from either the country of main visit (determined usually by amount of days) or if you're touring around all equally, then first port of entry.
Once you have it, it shouldn't make a difference and you can go from where you please, but I have read instances of them being fussy if you don't have a stamp already from the country of first visit.