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: hanging paintings without nails
Product list:
A: 100 lb Picture Hangers, Picture Hooks for Hanging Pictures, 20Pcs Frame Hooks Picture Hangers Heavy Duty Hardware Hanger Kit Wooden Wall Painting Hangers Hooks and Nails for Pictures
B: Monkey Hooks Picture Hangers Home and Office Pack, Gorilla Hook, Drywall Hooks for Hanging Pictures, Wall Hooks, Picture Hangers, Picture Hanging Kit, 30 Pc Set
Answer: B,A