I'd like for formations to be a little more specific when ordering units. Right now the default is
and I'd like to be able to have, let's say, cavalry archers at the end of the line or have archer type heroes with the rest of the archers or champions be before citizen soldiers before each respective class. However, i'm new to programming and I don't know how to do it. Can anyone help me with this?