The party you choose when leaving Fort Joy is the party that will survive. After the attack if you talk to Malady she says that the people in that room(the prison where Alexander was) were the only ones that survived.