mongodb/docs — pull request #395 by mkwan (2012-11-13 01:20:05+00:00)
Title: Add an ORDER BY example that would be used in a typical GROUP BY query.

The current SQL <-> aggregate examples are missing the very common usage of ORDER BY when combined with a GROUP BY.