I recently discovered that it is possible to adjust your formation by sending your troops a commands advance, stay back, left and right flank. When I looked for how to force to use AI commander to use these commands I failed. I think that BIS didn't give scripters possibility to use these commands which is basicly a shame.
Also about it, its a shame that I cant combine those by saing soldiers for example 2x advance and 1x flank left to move them 80m in front and 40m in left of actual formations.
This would add players very powerfull tool how to control AI soldiers.
Basicly it would be very nice if they would give players/scripters more easy ways how to tweak the formations, because in vanilla they are useless.