I take it that BktBallRef was merely emphasizing the importance of the order for this particular play. As posted, they got it right. If the foul had happened first, it would have been TC, dead ball, no shot.
What's the call if they happen
simultaneously?