-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: manual
-
Labels:
-
Environment:
*Location*: http://docs.mongodb.org/manual/tutorial/aggregation-zip-code-data-set/
*User-Agent*: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0
*Referrer*: http://docs.mongodb.org/manual/core/aggregation-introduction/
*Screen Resolution*: 1440 x 900
*repo*: docs
*source*: tutorial/aggregation-zip-code-data-set
*Location*: http://docs.mongodb.org/manual/tutorial/aggregation-zip-code-data-set/ *User-Agent*: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0 *Referrer*: http://docs.mongodb.org/manual/core/aggregation-introduction/ *Screen Resolution*: 1440 x 900 *repo*: docs *source*: tutorial/aggregation-zip-code-data-set
Good day,
I think there was some typo : "largest to smallest" to "smallest to largest".
I would like to clarify some info on the references. In this part of the documentation "http://docs.mongodb.org/manual/tutorial/aggregation-zip-code-data-set/" and also in the PDF version. In the example regarding "Return Largest and Smallest Cities by State".
In the explanation of the query. The $sort indicated a value of 1 for the population. Which is in ascending. But in the docs it said "largest to smallest". I just think there was a typo. Should it have been "smallest to largest". I would like to clarify this.
Thanks.
Btw, great doc! Specially with the PDF version. I find it very useful reading the documents and its examples.