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: pathfinder figures
Product list:
A: ENHANCE RPG Adventurer's DND Bag - Dungeons and Dragons Accessories Bag with Tabletop Miniatures Vault, Mat Holder, DND Dice & Token Pockets, Fits 4-8 Books, DM's Guide, Player's Handbook (Black)
B: D&D Icons of the Realms: Bahamut Premium Fantasy Miniature Figure
C: LITKO Paper Figure Counter Stand, 1 inch Circle Base, 1x1.5 inch Tall Slot (5)
Answer: B,A,C