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: 7th gen fire
Product list:
A: Amazon Fire HD 10 Tablet Case, Twilight Blue
B: Fire 7 tablet, 7" display, 16 GB, latest model, (2019 release), Sage
C: Kindle Fire Fast Charger, (UL Listed) AC Adapter with 6.5Ft Extra Long Cord Compatible with Fire 6 7 8 10 Tablet, HDX 6" 7" 8.9",Fire 8 Plus Tablet
Answer: B,A,C