<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:06:51 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[DOCS-13063] Add the sort behaviour in the aggregation push accumlator </title>
                <link>https://jira.mongodb.org/browse/DOCS-13063</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;h2&gt;&lt;a name=&quot;Description&quot;&gt;&lt;/a&gt;Description&lt;/h2&gt;
&lt;p&gt;Can we add a sort behavior for push operator just like we have for last and first accumulator ?&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://docs.mongodb.com/manual/reference/operator/aggregation/last/#behavior&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.mongodb.com/manual/reference/operator/aggregation/last/#behavior&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://docs.mongodb.com/manual/reference/operator/aggregation/last/#behavior&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.mongodb.com/manual/reference/operator/aggregation/first/#behavior&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Something like&lt;/p&gt;
&lt;h2&gt;&lt;a name=&quot;Behavior%C2%B6https%3A%2F%2Fdocs.mongodb.com%2Fmanual%2Freference%2Foperator%2Faggregation%2Flast%2F%23behavior&quot;&gt;&lt;/a&gt;Behavior&lt;a href=&quot;https://docs.mongodb.com/manual/reference/operator/aggregation/last/#behavior&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&#182;&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;When using&#160;&lt;a href=&quot;https://docs.mongodb.com/manual/reference/operator/aggregation/last/#grp._S_last&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;$push&lt;/tt&gt;&lt;/a&gt;&#160;in a&#160;&lt;a href=&quot;https://docs.mongodb.com/manual/reference/operator/aggregation/group/#pipe._S_group&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;$group&lt;/tt&gt;&lt;/a&gt;&#160;stage, the&#160;&lt;a href=&quot;https://docs.mongodb.com/manual/reference/operator/aggregation/group/#pipe._S_group&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;$group&lt;/tt&gt;&lt;/a&gt;&#160;stage should follow a&#160;&lt;a href=&quot;https://docs.mongodb.com/manual/reference/operator/aggregation/sort/#pipe._S_sort&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;$sort&lt;/tt&gt;&lt;/a&gt;&#160;stage to have the input documents in a defined order.&lt;br/&gt;
&#160;&lt;/p&gt;

&lt;p&gt;NOTE&lt;/p&gt;

&lt;p&gt;Although the&#160;&lt;a href=&quot;https://docs.mongodb.com/manual/reference/operator/aggregation/sort/#pipe._S_sort&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;$sort&lt;/tt&gt;&lt;/a&gt;&#160;stage passes ordered documents as input to the&#160;&lt;a href=&quot;https://docs.mongodb.com/manual/reference/operator/aggregation/group/#pipe._S_group&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;$group&lt;/tt&gt;&lt;/a&gt;&#160;stage,&#160;&lt;a href=&quot;https://docs.mongodb.com/manual/reference/operator/aggregation/group/#pipe._S_group&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;$group&lt;/tt&gt;&lt;/a&gt;&#160;is not guaranteed to maintain this sort order in its own output.&lt;br/&gt;
&#160;&lt;br/&gt;
&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;h2&gt;&lt;a name=&quot;Scopeofchanges&quot;&gt;&lt;/a&gt;Scope of changes&lt;/h2&gt;

&lt;h2&gt;&lt;a name=&quot;ImpacttoOtherDocs&quot;&gt;&lt;/a&gt;Impact to Other Docs&lt;/h2&gt;

&lt;h2&gt;&lt;a name=&quot;MVP%28WorkandDate%29&quot;&gt;&lt;/a&gt;MVP (Work and Date)&lt;/h2&gt;

&lt;h2&gt;&lt;a name=&quot;Resources%28ScopeorDesignDocs%2CInvision%2Cetc.%29&quot;&gt;&lt;/a&gt;Resources (Scope or Design Docs, Invision, etc.)&lt;/h2&gt;
</description>
                <environment></environment>
        <key id="945688">DOCS-13063</key>
            <summary>Add the sort behaviour in the aggregation push accumlator </summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="naomi.pentrel@mongodb.com">Naomi Pentrel</assignee>
                                    <reporter username="Sagar">Sagar</reporter>
                        <labels>
                            <label>docs-onboarding-candidate</label>
                    </labels>
                <created>Mon, 30 Sep 2019 03:05:19 +0000</created>
                <updated>Mon, 30 Oct 2023 20:34:05 +0000</updated>
                            <resolved>Tue, 20 Apr 2021 15:59:32 +0000</resolved>
                                                    <fixVersion>Server_Docs_20231030</fixVersion>
                                    <component>manual</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="3727981" author="xgen-internal-githook" created="Tue, 20 Apr 2021 15:54:07 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Naomi Pentrel&apos;, &apos;email&apos;: &apos;5212232+npentrel@users.noreply.github.com&apos;, &apos;username&apos;: &apos;npentrel&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-13063&quot; title=&quot;Add the sort behaviour in the aggregation push accumlator &quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-13063&quot;&gt;&lt;del&gt;DOCS-13063&lt;/del&gt;&lt;/a&gt; Clarify $group order behaviour&lt;br/&gt;
Branch: v3.6&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/f17390c67796ef7fb9085023d9e16f20888d5598&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/f17390c67796ef7fb9085023d9e16f20888d5598&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3727980" author="xgen-internal-githook" created="Tue, 20 Apr 2021 15:53:55 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Naomi Pentrel&apos;, &apos;email&apos;: &apos;5212232+npentrel@users.noreply.github.com&apos;, &apos;username&apos;: &apos;npentrel&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-13063&quot; title=&quot;Add the sort behaviour in the aggregation push accumlator &quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-13063&quot;&gt;&lt;del&gt;DOCS-13063&lt;/del&gt;&lt;/a&gt; Clarify $group order behaviour&lt;br/&gt;
Branch: v4.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/e0025f2d7840060efd609b9a592a7e832b4b4755&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/e0025f2d7840060efd609b9a592a7e832b4b4755&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3727927" author="xgen-internal-githook" created="Tue, 20 Apr 2021 15:42:52 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Naomi Pentrel&apos;, &apos;email&apos;: &apos;5212232+npentrel@users.noreply.github.com&apos;, &apos;username&apos;: &apos;npentrel&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-13063&quot; title=&quot;Add the sort behaviour in the aggregation push accumlator &quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-13063&quot;&gt;&lt;del&gt;DOCS-13063&lt;/del&gt;&lt;/a&gt; Clarify $group order behaviour&lt;br/&gt;
Branch: v4.2&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/a77fa50160ffc0dca32d338ef7f17a2a819cf32d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/a77fa50160ffc0dca32d338ef7f17a2a819cf32d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3727925" author="xgen-internal-githook" created="Tue, 20 Apr 2021 15:42:43 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Naomi Pentrel&apos;, &apos;email&apos;: &apos;5212232+npentrel@users.noreply.github.com&apos;, &apos;username&apos;: &apos;npentrel&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-13063&quot; title=&quot;Add the sort behaviour in the aggregation push accumlator &quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-13063&quot;&gt;&lt;del&gt;DOCS-13063&lt;/del&gt;&lt;/a&gt; Clarify $group order behaviour&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/a62c15e31f802ab2c5cd8e2bda19d0e01a2701ec&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/a62c15e31f802ab2c5cd8e2bda19d0e01a2701ec&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3725409" author="xgen-internal-githook" created="Mon, 19 Apr 2021 16:18:00 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Naomi Pentrel&apos;, &apos;email&apos;: &apos;5212232+npentrel@users.noreply.github.com&apos;, &apos;username&apos;: &apos;npentrel&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-13063&quot; title=&quot;Add the sort behaviour in the aggregation push accumlator &quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-13063&quot;&gt;&lt;del&gt;DOCS-13063&lt;/del&gt;&lt;/a&gt; Clarify $group order behaviour&lt;br/&gt;
Branch: v5.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/1abbc1c9009fb128c5bb719efaf61690b5e295a0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/1abbc1c9009fb128c5bb719efaf61690b5e295a0&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3679353" author="naomi.pentrel" created="Tue, 23 Mar 2021 15:13:47 +0000"  >&lt;p&gt;CR:&#160;&lt;a href=&quot;https://mongodbcr.appspot.com/777900010/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://mongodbcr.appspot.com/777900010/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sat, 20 Mar 2021 17:00:33 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        2 years, 42 weeks, 1 day ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>DOCSP-1769</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>emet.ozar@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            2 years, 42 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>naomi.pentrel@mongodb.com</customfieldvalue>
            <customfieldvalue>Sagar</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hvtf0n:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hvhzev:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="4851">ServerDocs2020: Mar23 - Mar30</customfieldvalue>
    <customfieldvalue id="4883">ServerDocs2020: Mar30 -  Apr06</customfieldvalue>
    <customfieldvalue id="4909">ServerDocs2020: Apr6 -  Apr13</customfieldvalue>
    <customfieldvalue id="4925">ServerDocs2020: Apr13 -  Apr20</customfieldvalue>
    <customfieldvalue id="4949">ServerDocs2020: Apr20 -  Apr27</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10555" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hvt19z:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                </customfields>
    </item>
</channel>
</rss>