So I made a Black reanimator Vintage deck with Flayer of the Hatebound, but wasn't sure how to calculate some of the damage. I defeated my opponent on turn 3 but am not sure how much actual damage was done

Turn 1:
I play a swamp and Dark Ritual into Buried Alive putting 3 Flayer of the Hatebound into the graveyard.
Turn 2:
I play a swamp and Exume one of the Flayers. 4 damage to my opponent.
Turn 3:
I play a swamp and Victimize my Flayer, target the other two in the graveyard and win.
Now, how much damage was actually done?
A. If Victimize resolves fully before Undying is activated on the first Flayer, then I believe the damage is (4 * 2) + (4 * 2) + (4 * 3) = 26
In this case the two Flayers enter together each triggering for themselves and each other (4*2 twice) and then the original one comes back and is triggered by all three.
OR
B. If Undying resolves before the Victimize does, then I believe the damage is 4 + (4 * 3) + (4 * 3) = 28
In this case, the first comes back by itself (4 damage) and then the other two come in each triggering all three (4 times 3 twice).
Which is the correct outcome?
Or is it neither?
Thanks in advance!