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: the arrival shaun tan
Product list:
A: Teaching Shaun Tan's The Arrival for Elementary Gifted and Talented -- Critical Thinking, Vis Arts, Primary Sources
B: The Arrival by Tan, Shaun (2007) Hardcover
Answer: B,A