Step 1: Mark the words that point to other sentences
- A: "To avoid this" (needs a problem before it).
- B: "A different layout" (needs a first layout before it).
- D: "Yet the Dvorak layout" (needs Dvorak to be named before it, and needs a contrast).
- E: "When certain combinations of keys were struck quickly" (explains a problem).
- C: "The QWERTY design ... aimed to solve a mechanical problem" (names the first layout and the problem).
Step 2: Make small groups
E is the problem and A is the way to avoid it, so we get the pair $E$ then $A$.
C announces that there was a mechanical problem and E explains it, so C comes before E, and we get the group $C, E, A$.
B brings in the second layout and D comments on it, so we get the pair $B, D$.
Step 3: Put the groups in order
The group about QWERTY must come first, because B says "different", and B has to be different from something already described. So the whole order is CEA then BD, that is CEABD.
Step 4: Match with the options
Option (2) is CEABD, a perfect match.
Options (1) BDACE and (3) BCDEA start with B, the second layout, before QWERTY has been introduced.
Option (4) CAEBD has the right opener and the right ending, but A comes before E, so "To avoid this" appears before the thing to be avoided. Only one option survives.
Final Answer:
The groups CEA and BD, in that order, make option (2).
\[ \boxed{\text{Option (2): CEABD}} \]