Standard deviation increases if the sum of the difference, between each number of the set and the mean average, increases.
At a glance we can see that the mean for set P and set R are 27 and 11.5, The difference between each number and the mean average in set P is smaller than set R, thus we know:
standard deviation of set P < standard deviation of set R .....(I)
The problem is made complex with set Q, as you see there is an outlier in set Q, this, in turn, will drive the mean average lower. Upon calculation, the mean average is 22. Based on this, the sum of the difference between each number of the set Q and the mean average is larger than the set R.
28-22 = 6 19-11.5 = 7.5
27-22 = 5 16-11.5 = 4.5
26-22 = 4 13-11.5 = 1.5
25-22 = 3 11.5-10 = 1.5
24-22 = 2 11.5-7 = 4.5
22-2 = 20 11.5-4 = 7.5
sum difference for set Q: 40
sum difference for set R: 27
Therefore, standard deviation of set R < standard deviation of set Q .....(II)
Combining the (I) and (II), we get that
std. dev. P < std. dev. R < std. dev. Q
And therefore the answer is (B)