I've given up on trying to understand the priority algorithm, and for sanity I advise you do, too. I have to believe there are many factors, including rail & trucking routes, transportation time, tax incentives by state & country (in the case of Canada), options combinations and manufacturing...