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: wall door closet
Product list:
A: Type A Over the Door Shoe Rack for Closets | Door Shoe Organizer for 24-Pairs of Shoes | For Back of Door Hanging Organization in Closets, Bedroom, Bathroom | Metal
B: Titan Mall Jewelry Cabinet Wall Door Mounted Jewelry Organizer Mounted Lockable Jewelry Armoire Organizer with Full-Length Mirror Dressing Mirror Makeup Jewelry Storage(White)
Answer: B,A