This film was shot entirely in exact chronological order, except for the last scene which takes place at dawn.
Roman Polanski chose to shoot at sunset because lighting for the set was better, so he shot the sequence backwards (i.e. last scene when the sun comes up, was shot first as the sun was actually going down, etc.)
more