Step 1: Event start.
Sentence (A) states, "The bell rang for lunch."
This marks the beginning of the sequence.
Step 2: Immediate reaction.
Sentence (B) says, "Students rushed out of their classrooms."
This shows the response to the bell.
Step 3: Next action.
Sentence (D) states, "Everyone stood in line to buy food."
This shows what the students did after leaving classrooms.
Step 4: Resulting atmosphere.
Sentence (C) says, "The cafeteria was soon filled with noise and chatter."
This describes the final scene.
Summary:
The order (A) → (B) → (D) → (C) logically narrates the sequence from signal to reaction, action, and final setting.