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: doctor who bathroom
Product list:
A: Switch Plate Outlet Cover - Tardis Doctor Who Time Travel Time Machine
B: Doctor Who TARDIS Door Cotton Beach or Bath Towel (59" long x 29 1/2" wide)
Answer: B,A