Instruction: Evaluate each product title in the given list, assess its relevance to the given query, and then arrange the products in descending order of relevance, with the most relevant product at the top of the ranked list.

Input:
Query: 3 way switch
Product list:
A: Leviton 1453-2WM 15 Amp, 120 Volt, Toggle Framed 3-Way AC Quiet Switch, Residential Grade, Grounding, Quickwire Push-In & Side Wired, 6-Pack, White
B: Kasa Smart 3 Way Switch HS210, Needs Neutral Wire, 2.4GHz Wi-Fi Light Switch works with Alexa and Google Home, UL Certified, No Hub Required , white
Answer: A,B