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: memory and nerve support
Product list:
A: Life Renew: Nerve Renew Advanced Nerve Support - Alternative Nerve Pain Relief with Alpha Lipoic Acid and Vitamin B Complex - 60 Capsules - Antioxidants
B: Neuriva Nootropic Brain Support Supplement - Plus Capsules (30 count in a box) Phosphatidylserine, B6, B12 and Folic Acid, Supports Focus Memory Concentration Learning Accuracy and Reasoning
Answer: A,B