Endless Space 2

Is there a way to change which ships are in which flotilla on the battle screen before you start a battle or does the game auto place ships in the best slots? IE: Long range ships will always automatically be put in the long range slot, if available?

I have always just used a few ship types and it seems that which ships are in which slots are somewhat random.