Further logic for calculating the correct shipping tier for each order