MBS - OAS and option cost

Can anyone explain to me how to do relatve valuation on MBS based on OAS and option cost?

You want the largest OAS and smallest option cost holding everything else constant.

Schweser puts Duration into play also by saying that you should get paid more for taking on more duration. So everything else constant, the bond with the lowest duration is the cheapest.