they would but in the game engine the short-spear phalanx is obsolete since all hoplites end to use their swords than spears bcs of close proximity.
So these disciplined higly trained troops can be set to be very effective in the battlefield even though they are "un-phalanxed" but fight close to each other due to discipline