Arrange in the order of decreasing pKb
.
R > Q > P > S
pKb value indicates the basic strength, lower the pKb value, higher the basic strength and vice-versa.
Basic strength refers to the ease with which the OH− ion is released from these compounds. All these compounds are carboxylic acids and want to give away H+ ions! If they are good acids, then they would be bad bases. A bad base would have a high pKb value. So, if we arrange the given compounds in a decreasing order of acidity, it is as good as arranging them in a decreasing order of pKb values.
R is the strongest acid as it has the highest -I effect due to the F on the second carbon. This is followed by Q and then P and S.
So, the order is R>Q>P>S.