When using $first in a $group stage, the $group stage should follow a _______ stage to have the input documents in a defined order.
(a) $order
(b) $sort
(c) $asc
(d) None of the mentioned
This question was posed to me in an online quiz.
Origin of the question is Pipeline Operators topic in division Aggregation Concepts and Aggregation Mechanics of MongoDB