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: pot pipes for smoking weed
Product list:
A: HIDE Stash Jar - Airtight Smell Proof Durable Multi-Use Portable Metal Herb Jar Container. Waterproof Aluminum Screw-top Lid Lock (Pack of 1, Silver)
B: Scotte Tobacco Pipe Set Handmade Wood Smoking Pipe with Accessories and Gift Box
Answer: B,A