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: command jewelry hooks
Product list:
A: Command Large Double Wall Hook, Matte Black, Decorate Damage-Free
B: Command Medium Crystal Hook, Clear, 2-Hooks, 3-Strips, Organize Damage-Free
Answer: B,A