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: 40 inch tv not smart
Product list:
A: Proscan PLDED4016A 40-Inch 1080p Full HD LED TV
B: Sceptre 40 inch 1080p HDMI LED Display, Metal Black 2018 (X415BV-FSRR)
Answer: B,A