Instruction: Given a query and a list of products denoted as A, B, C, ... with their titles, rank the products according to their relevance to the query. Output only a ranked list in which the most relevant product is at the top of the list.

Input:
Query: cat6 cable 40 foot
Product list:
A: Belkin A3L980-40-BLK-S CAT6 Snagless Patch Cable RJ45M/RJ45M; 40 Black
B: Cat 6 Ethernet Cable 50 ft,High Speed Solid Internet Network Cable with Clips,Flat Wire LAN Rj45 Cable Faster Than Cat5e,Cat5 with Snagless Connectors for PS4,Switch Boxes,Modem,Router,Black
Answer: A,B