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: swat building blocks compatible legoinglys
Product list:
A: Anksono Building Bricks 1000 Pieces Bulk Toys Kids Building Blocks 11 Colors Compatible with All Major Brands-Add 39 Accessories with Wheels Tires Axles Windows & Doors-For Above 3 Year Old Boys Girls
B: Buildablock (An Abrams Block Book)
C: Melissa & Doug Standard Unit Solid-Wood Building Blocks With Wooden Storage Tray (60 pcs)
Answer: A,C,B