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: glass 5 gallon water jug
Product list:
A: 4 Glass Water Bottle, Includes 38 mm Polyseal Cap, 1 gal Capacity (Pack of 4)
B: Neworkg 30 Pack 3 and 5 Gallon Non-Spill Water Jug Caps, Reusable Anti Splash Bottle Caps, 2 PCS Crowbar for Removing Caps
C: 2 X 5 Gallon Glass Carboy For Beer or Wine Making
Answer: C,A,B