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: logitech g213 prodigy rgb gaming wired keyboard
Product list:
A: Logitech G502 HERO High Performance Wired Gaming Mouse, HERO 25K Sensor, 25,600 DPI, RGB, Adjustable Weights, 11 Programmable Buttons, On-Board Memory, PC / Mac
B: Logitech G513 Wired Gaming Keyboard Mechanical Romer-G Tactile Switches + RGB backlighting, Silver - 920-008721 (Renewed)
Answer: B,A