In the C&C example, sort soldiers by location before moving them in order to avoid collisions