The subject of the sentence is "Technology has revolutionised", which is provided in part (P). This makes (P) the logical beginning of the sentence. After (P), we need to describe what technology has revolutionised. Part (O), "every aspect of our lives", completes this idea. Part (Q), "and it has transformed the way", continues the sentence by adding additional information about what technology has done. It introduces the transformation aspect, connecting smoothly with the previous parts. Finally, part (R), specifies the particular transformation mentioned in (Q). This gives a proper conclusion to the sentence.
The correct sentence is: "Technology has revolutionised every aspect of our lives, and it has transformed the way we communicate and connect."