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: 18 inch shelf
Product list:
A: Muscle Rack WB181460 5-Tier Wire Shelving Unit with Baskets, 60" Height, 18" Width, 14" Length
B: Folding Shelf Brackets 18 Inch, 2pcs Heavy Duty Stainless Steel Collapsible Shelf Bracket Wall Mounting DIY Triangle Brackets for Table Work Bench, Space Saving Max Load 400 lb
Answer: A,B