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: smart thermostat that works with alexa
Product list:
A: Echo Show 5 (Charcoal) with Wyze 1080p indoor Smart Home Camera
B: Amazon Smart Plug, works with Alexa  A Certified for Humans Device
C: Echo Dot (3rd Gen) - Charcoal Fabric Bundle with Honeywell RTH9585WF1004/W Wi-Fi Smart Color Programmable Thermostat
Answer: C,A,B