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: line voltage thermostat with remote sensor
Product list:
A: Mysa Smart Thermostat for Electric Baseboard Heaters
B: Nashone Wireless Plug in Thermostat, Electric Thermostat Outlet/Temperature Controller with Heating & Cooling Mode, Remote Control with LCD Display and Built-in Temp Sensor
Answer: B,A