Historical Rules · 22 April 2021
Rule 509.3a
Official source text from the 22 April 2021 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.