Answer:
Margot died first because it said that Anne saw her lying on the floor and she couldn't get up because she was so sick from that disease named Thypus and she couldn't hold on more longer so she just died on the ground then a few days later Anne died.