Well, to me it seems the order are interpreted as such :
* Unit normally advances straight ahead for some turns
* Then *if* there are enemy units at less than range X, the closest target gets attacked
* In the end maybe "X" increases with time, or a turn limit is given, and the unit eventually attack the closest enemy unit.
It's pretty hard to use effectively indeed...
