Any armies you send to reinforce an attacker will be added to a queue. Whenever an army dies or is retreated the next army in the queue is deployed. 

The player that initiated the combat has control over their placement and the orders to advance/hold/retreat.

It is highly suggested to coordinate with your Alliance in such cases, so you can effectively reinforce and help each other achieve the desired result!