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: sally pjs for girls
Product list:
A: Peanuts Girls' Toddler Halloween 2 Piece Cotton Tight fit Pajama Set, Snoopy/Sally, 2T
B: Briefly Stated Tim Burtons Nightmare Before Christmas Jack Skellington One Piece Union Suit Pajama Costume (M 8/10), Black
Answer: B,A