The best place for the sentence, “When that didn’t work, he heated up some milk in the kitchen,” in order to keep a logical sequence of events is:
after the second sentence.
This way, it follows the action of reading in bed and reflects his attempt to fall asleep before he drinks the milk and begins to drift off.