If I have Phalangitai in the army, I'll put the Thorakitai on the flanks with the Thureophoroi behind them...
If my main line is made of Hoplitai or spearmen, I'll decide if having them as reserves or as flankers...