Instruction: Analyze the query and each product title. Sort the products in descending order based on their relevance to the query. The most relevant product should be at the top of the list, and output the ranked list.

Input:
Query: bathroom drug cabinet
Product list:
A: AdirMed Locking Drug Cabinet  Wall Mount Heavy Duty White Steel Prescription Medicine Safe & Medical Supply Storage w/Lock for Home, School & Office
B: AZO Urinary Pain Relief Maximum Strength | Fast relief of UTI Pain, Burning & Urgency | Targets Source of Pain | #1 Most Trusted Brand | 24 Tablets
Answer: A,B