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: mat man handwriting without tears set
Product list:
A: Giant Magnetic Letter Construction, Classroom Accessories, Fine Motor Toy, 21 Pieces, Ages 4+
B: Learning Without Tears FLIP Crayons - Sensory - Get Set for School and Handwriting Without Tears- Pre-K and K, Fine Motor Skills, Writing, Drawing, Coloring- For School or Home Use
Answer: A,B