You can ask one companion to leave your party, and your friend can then re-hire them (in the King Crab tavern or the Homestead, depending on how far you are in the game). You'll need to do this every time you reload the game, until the functionality gets added to just allow direct rearranging in co-op.