Instruction: Evaluate the relevance of each product title in the input to the given query, and then sort the products in descending order of relevance, placing the most relevant product at the top of the ranked list.

Input:
Query: maternity clothes
Product list:
A: Pregnancy Journal: A Week-By-Week Guide to a Happy, Healthy Pregnancy (Deluxe, Cloth-bound 3rd edition)
B: Everyday Fashions of the Forties As Pictured in Sears Catalogs (Dover Fashion and Costumes)
Answer: A,B