...on top of the pie

There is an idiom which ends with "...on top of the pie", to indicate that good things come after anothers.
Could you tell me how it begins? Thanks so much.

I've never heard "...on top of the pie". Could you be thinking of "the cherry/icing on the cake"? (VSD)

I've heard "...with a cherry on top."