I don't understand the question. Are you wanting to find closest (delivery) shop for a recipients address? And do you want to sort packages by size for each shop or truck?
I need to sort bulk (100.00 parcels) to bags. Every bag is for 1 shop (+1.000).
So sort parcels for each shop.
And what are the constraints? Maximum amount of parcels in bags (based on metric volume, weight or other limits) or carriage class (1, 2, 5 day delivery)? There's a tonne of variables.