Ser Meryn Trant goes forward to punish Sansa, at Joffrey’s command. In the novel, this role is given to Ser Boros Blount, who has not been cast this season.
HBO
S2, Meryn Trant Profile, Meryn Trant, EP204, Behind the Scenes