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: charger for fire hd 10 tablet
Product list:
A: Amazon 3ft USB to USB-C Cable, Black (designed for use with Fire tablets and USB-C compatible devices)
B: Fire 10 8 HD-9-11th Generation Charger Cable USB C, 6Ft Fast Charging Cord Compatible for New Fire HD 10,HD10 Plus,Kids Pro,Kids Edition(9th 11th Gen-2019 2021),Fire HD 8,8 Plus(10th Gen-2020)
Answer: B,A