Historical Rules · 5 October 2018
Rule 509.2a
Official source text from the 5 October 2018 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.