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: Berlin Modisch Passage Lever Door Handle [Non-Locking Lever Set] for Hallway Doors or Closets with a Satin Nickel Finish, Reversible for Right & Left Side, Classic Series
Answer: A,B