For the following question, arrange the sentences A, B, C, and D to form a logical sequence
(A) I said my prayers and tried to sleep early.
(B) I gave up trying to sleep and went for a walk.
(C) I was very nervous the night before my first recording.
(D) But the fear of not being able to sing in the studio haunted me.