A company sells detergent in three different sized boxes: small (S), medium (M) and large (L). The medium size costs 40% more than the small size and contains 10% less detergent than the large size. The large size contains 1.5 times as much detergent as the small size and costs 20% more than the medium size. Rank the three sizes from best to worst buy.
SML
LMS
MSL
LSM
MLS