Historical Rules · 13 July 2018
Rule 509.3a
Official source text from the 13 July 2018 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.