Instruction: Evaluate the relevance of each product title in the input to the given query, and then sort the products in descending order of relevance, placing the most relevant product at the top of the ranked list.

Input:
Query: gifts for phd graduate
Product list:
A: Graduation Wine Glass Gift - Now Hotter by One Degree - 15oz Stemless Wine Glass Great Gift for College and High School Graduates
B: Andaz Press Personalized Custom 11oz. PhD Graduation Coffee Mug Gift, Dr. Mehta Phinished March 21, 2022, 1-Pack, Includes Gift Box, Cups for Graduates Students of Class of 2021 Doctorate Grad Diploma
Answer: B,A