WHEN MY BROTHER WENT TO BED, HE HAD SWITCHED OFF THE LIGHTS

8/ When my brother went to bed, he had switched off the lights.

A. First my brother went to bed. Then he switched off the lights.

B. First my brother switched off the lights. Then he went to bed.