Instruction: Rank the products A, B, C, ... based on their relevance to the provided query, and produce a ranked list with the most relevant product positioned at the top of the list.

Input:
Query: nintendo switch rally games
Product list:
A: MXGP 3: The Official Motocross Videogame - PlayStation 4
B: V-Rally (NSW) - Nintendo Switch
Answer: B,A