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: mason jar with lids and straws
Product list:
A: Southern Homewares Mason Jar Lids with Straw Hole Set of 6 Small Mouth Mason Jar Lids Kids Jar Lids Fun Mason Jar Drink Sip
B: CUPVANNA | MASON JAR MUGS with Stainless Steel Lids and Straws and Straw Cleaning Brush | 16oz Mason Jar Glasses with Handle and Stainless Steel Lids & Straws with Cleaning Brush (16 oz, 4 sets)
Answer: B,A