The priority for item transfer is
1 having highest priority.
For example, if you have these items on your hero:
and you want to finish wand+treads, you'll arrange the items in the courier like this:
If wand recipe is on lower priority, the items won't combine (due to not enough space).
Putting the items on the courier on the correct order beforehand can save you time and/or courier trips without item delivery.