I'm no expert, but I would guess they lead with the allied troops first. Followed by Hastati, then Principes, and finally Triarii.