The steps of nodule formation in a pea root are given in a jumbled order: (P) an infection thread carries the bacteria into the cortex; (Q) Rhizobium attaches to a root hair; (R) bacteria change into bacteroids inside dividing cortex cells; (S) the root hair curls. Which is the right order?