Instruction: Analyze the query and each product title. Sort the products in descending order based on their relevance to the query. The most relevant product should be at the top of the list, and output the ranked list.

Input:
Query: 30 gallon gas water heater
Product list:
A: Honeywell WT8840B1000 Water Heater Gas Control Valve, NAT 160 Degree F 1" Cavity
B: Camplux Tankless Water Heater Natural Gas,High Efficiency Natural Gas Tankless Water Heater with Fahrenheit Digital Display, 3.18 GPM On Demand Water Heater for 2-3 Persons Bathroom Indoor Use,White
C: Rheem PROE6 1 RH POU Professional Classic Residential 6 Gallon Electric Point-of-Use Water Heater
D: Rheem RTEX-18 18kW 240V Electric Tankless Water Heater, small, Gray
Answer: B,C,A,D