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: brooks glycerin running shoes women size 8
Product list:
A: Brooks Mens Glycerin 17 Running Shoe - Black/Blue/Nightlife - D - 9.0
B: Brooks Womens Glycerin 16 Running Shoe - Ebony/Green/Black - B - 8.0
Answer: B,A