In 2.4.1 my units keep being shuffled around after combat. Usually it's a warrior in the front moving to the back, which is a very nasty surprise for the next fight. May be related to right-clicking a unit during combat to check their advancement goals?