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