Historical Rules · 26 August 2016
Rule 509.2a
Official source text from the 26 August 2016 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.