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: iphone cord charger
Product list:
A: iPhone Charger, WELAKER 2 Pack 6ft Lightning Cable Data Sync Transfer Cord with 2 Port Wall Charger Charging Plug Adapter(ETL Listed) Compatible with iPhone 13 12 11 Pro Max XS XR X Plus for iPad
B: iPhone Charger,SpeedScope Lightning Cable 6Feet 5Pack Nylon Braided USB Charging Cable High Speed Data Sync Transfer Cord Compatible with iPhone 11/11 Pro Max/XS MAX/XR/XS/X/8/7/Plus/6S/iPad
Answer: B,A