Stable means equal keys keep their order.
transcript
Plays b and g both have rating one. Play b came first. Which sort keeps b before g?
Place the plays from left to right. Then b goes before g. The sort is stable. Place from right to left, and g goes first. The ratings are sorted, but each block is reversed.
Run it on the eight plays. Left to right gives b, g, e, c, h, a, d, f. Equal ratings stay in play order. Right to left gives g, b, e, h, c, d, a, f.
Sort by time first. Then sort by rating with a stable sort. Each rating group stays in time order.
Right to left reversed plays b and g. It also reversed c and h, and a and d. That is three pairs. Left to right reversed no pair at all.
Read the plays from left to right. Fill each block from its start. That one direction decides stability.
Left to right. Full breakdown in the lecture.