Instruction: Evaluate each product title in the given list, assess its relevance to the given query, and then arrange the products in descending order of relevance, with the most relevant product at the top of the ranked list.

Input:
Query: goodnights pads for bed
Product list:
A: Waterproof Washable Incontinence Bed pad,24"X28" (3 Pack),Reusable Absorbency Underpads Sheet Mattress Protector for Adults, Kids and Pets
B: Goodnites Disposable Bed Mats
Answer: B,A