to top it (all) offidiom
Definition of to top it (all) off
—used to indicate a final thing that happened that was even better, worse, etc., than what happened before The car was filthy when she returned it to me, and to top it (all) off, there was almost no gas left in the tank.
What did you just call me?! A Quiz