How this is graded here: The first stage is a $match with no $expr and a plain range on placedAt, and an index with prefix { "shipping.method": 1, placedAt: 1 } exists. Minileaf explain is faithful here (27 keys / 27 docs).
Free for personal practice. Please don't republish the questions or solutions. See the Playground License Terms.
Run in the shell with Ctrl/⌘ + Enter. Check with Shift + Ctrl/⌘ + Enter.
"Check answer" runs your shell code on a fresh copy of the data, then on 2 hidden test datasets with more customers and orders, and compares each result with the expected one. The value of your last line is your answer.
Check your answer to see how it executes: keys and documents read, the index used, and whether it sorted in memory.