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: cabinet hardware
Product list:
A: Franklin Brass Bayview Brass Simple Chamfered Pull, Cabinet Handles and Drawer Pulls for Kitchen Cabinets and Dresser Drawers, 3 Inch (76mm), 10-Pack, P40844K-117-C, Cabinet Hardware
B: Black Cabinet Pulls Black Door Knobs -JTSC Products 35 Pack Stainless Steel Kitchen Cabinet Hardware Includes 25 Drawer Pulls 3" Hole Centers and 10 Solid Drawer Knobs
Answer: B,A