It seems that the squad members are chosen by the computer using their rank as criteria.
But If I want to change my squad for a specific setup (e.g. My team has 3 snipers and I want only one), what could I do? Is there a way for me to change before a mission (e.g. in the barracks).