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: cats not kids shirt
Product list:
A: Don't Tell Me What To Do - You Are Not My Cat T-Shirt
B: Brown Cat Sits in Pocket T-Shirt Cats Tee Shirt Gifts
Answer: B,A