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: apple iphone headphones 7
Product list:
A: Pirate Tribal Skull Headphone Hard PC Protective iPhone 8 Plus Case Graphic Design Mobile Phone Shell 3D Print Case Cover 5.5 Inch
B: Fashion Earphones with Microphone, Super Bass Stereo in-Ear Earphone Sport Headset with Headphone for iPhone 7 (D)
C: Cell Phone Pouch, Small Crossbody Travel Purse Shoulder Bags with Headphone Jack Outdoor Sports Workout Traveling Running Hiking Gym Pack for iPhone Xs Max/X/6/7/8 Plus Galaxy S9 S10+
D: [Apple MFi Certified] Lightning to 3.5mm Headphone Jack Adapter, iPhone Headphone Adapter, Aux Jack Headphone Adapter Compatible for iPhone 11 XS XR X 7 7P 8 8P
Answer: B,A,D,C