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: dahua security system
Product list:
A: Dahua 8MP WDR IR Eyeball Network Camera, Smart H.265+, 2.7-12mm, IP67, 164' IR, ePoE, IVS, Micro-SD Slot, Built-in Mic, IPC-HDW5830R-ZE OEM No Logo
B: Dahua Lite 5MP HDCVI Mini Eyeball IR 2.8mm Multi-Format Security Camera, White (A511K02)
Answer: B,A