Historical Rules · 8 March 2024
Rule 509.3a
Official source text from the 8 March 2024 Rules release
During the declare blockers step, if an attacking creature is removed from combat or a spell or ability causes it to stop being blocked by a blocking creature, the attacking creature is removed from all relevant damage assignment orders. The relative order among the remaining attacking creatures is unchanged.