<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>idea Can we get a sort function please in ArcGIS Survey123 Ideas</title>
    <link>https://community.esri.com/t5/arcgis-survey123-ideas/can-we-get-a-sort-function-please/idi-p/1117733</link>
    <description>&lt;P&gt;We get a lot of requests to sort things.&amp;nbsp; There is no sort function now.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would mostly like to use it for join.&lt;/P&gt;&lt;P&gt;sort(join(separator, question))&lt;/P&gt;&lt;P&gt;Should be easy and really cool.&lt;/P&gt;&lt;P&gt;unique(join(separator, question)) would also be really cool!&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 17 Nov 2021 16:10:20 GMT</pubDate>
    <dc:creator>DougBrowning</dc:creator>
    <dc:date>2021-11-17T16:10:20Z</dc:date>
    <item>
      <title>Can we get a sort function please</title>
      <link>https://community.esri.com/t5/arcgis-survey123-ideas/can-we-get-a-sort-function-please/idi-p/1117733</link>
      <description>&lt;P&gt;We get a lot of requests to sort things.&amp;nbsp; There is no sort function now.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would mostly like to use it for join.&lt;/P&gt;&lt;P&gt;sort(join(separator, question))&lt;/P&gt;&lt;P&gt;Should be easy and really cool.&lt;/P&gt;&lt;P&gt;unique(join(separator, question)) would also be really cool!&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2021 16:10:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-ideas/can-we-get-a-sort-function-please/idi-p/1117733</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2021-11-17T16:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: Can we get a sort function please</title>
      <link>https://community.esri.com/t5/arcgis-survey123-ideas/can-we-get-a-sort-function-please/idc-p/1118623#M1794</link>
      <description>&lt;P&gt;I like this idea, would like to see it added also.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 13:07:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-ideas/can-we-get-a-sort-function-please/idc-p/1118623#M1794</guid>
      <dc:creator>VMitch</dc:creator>
      <dc:date>2021-11-19T13:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: Can we get a sort function please - Status changed to: Needs Clarification</title>
      <link>https://community.esri.com/t5/arcgis-survey123-ideas/can-we-get-a-sort-function-please/idc-p/1120039#M1806</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/16421"&gt;@DougBrowning&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;We may have talked about this before, but what values are needing to be sorted?&amp;nbsp; Is this sort numerical, alphabetical, or based on another rule?&lt;/P&gt;&lt;P&gt;Unfortunately, there is no sorting type function in the &lt;A href="https://getodk.github.io/xforms-spec/#xpath-functions" target="_self"&gt;functions documented in the XLSForm specification&lt;/A&gt;.&amp;nbsp; That being said, it would be possible to create a custom JavaScript function that takes a repeat or field within a repeat, applies a sort, and then outputs the results.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 19:03:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-ideas/can-we-get-a-sort-function-please/idc-p/1120039#M1806</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2021-11-24T19:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: Can we get a sort function please</title>
      <link>https://community.esri.com/t5/arcgis-survey123-ideas/can-we-get-a-sort-function-please/idc-p/1120051#M1808</link>
      <description>&lt;P&gt;I just need alphabetical.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem with javascript is it cannot handle my repeat.&amp;nbsp; Run out of memory every time.&amp;nbsp; My repeat is not that big really at 100 fields.&amp;nbsp; But for me JS is pretty much useless.&amp;nbsp; I think if I could pass in just one field from the repeat it would solve a lot of this.&amp;nbsp; Is that something that could be changed on your end?&amp;nbsp; I think we talked about this and it is not there yet but your post makes it wonder since you said "a field inside a repeat".&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 19:11:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-ideas/can-we-get-a-sort-function-please/idc-p/1120051#M1808</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2021-11-24T19:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Can we get a sort function please</title>
      <link>https://community.esri.com/t5/arcgis-survey123-ideas/can-we-get-a-sort-function-please/idc-p/1142107#M1908</link>
      <description>&lt;P&gt;Good morning &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1213"&gt;@JamesTedrick&lt;/a&gt; , I am also interested in a sort() function, to clean-up a little results of select-multiple questions, as described here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-survey123-questions/sort-results-of-select-multiple-question/m-p/1142058" target="_blank"&gt;https://community.esri.com/t5/arcgis-survey123-questions/sort-results-of-select-multiple-question/m-p/1142058&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The idea would be to sort the list of selected values either alphabetically or numerically.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks for any help! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Feb 2022 14:58:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-ideas/can-we-get-a-sort-function-please/idc-p/1142107#M1908</guid>
      <dc:creator>HélèneTouyéras</dc:creator>
      <dc:date>2022-02-09T14:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: Can we get a sort function please</title>
      <link>https://community.esri.com/t5/arcgis-survey123-ideas/can-we-get-a-sort-function-please/idc-p/1373217#M2781</link>
      <description>&lt;P&gt;I am interested in the ability to Sort collected repeat information based on a field.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Our team used a survey to document the planting (and health)&amp;nbsp; of hundreds of trees.&amp;nbsp; We surveyed/documented the work by different team members with S123.&amp;nbsp; Consequently, and for practical reasons, we have physical tree tags that are number in different groups such as:&amp;nbsp; 300 to 360; 64 to 125; 1-63; 126 to 300, and so forth.&amp;nbsp; It is not efficient to tell staff to log the trees sequentially.&amp;nbsp; We have simultaneous Survey users and it is impractical to orchestrate a survey sequentially to accommodate a problem with sorting in S123.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;When creating a report, we need the Tree Tag ID number to be sequential:&amp;nbsp; 1, 2, 3&lt;/P&gt;&lt;P&gt;Not 95 to 254, 1 to 94..... , and so forth.&amp;nbsp; There are over 10 groups of collections.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand there is an OrderbyField, but from my understanding, a #repeat section cannot be individually displayed in a summary.&amp;nbsp; Or is the summary capable of this?&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;Really, it would be ideal to use the OrderbyField in the Repeat section.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone has any tips on how to get around this, that would be so helpful!&lt;/P&gt;&lt;P&gt;Here are images of the Report Template and the Results:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Report Template&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Report_Template_NotSorting.jpg" style="width: 737px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/92446i94201602FDBB55EA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Report_Template_NotSorting.jpg" alt="Report_Template_NotSorting.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Results from the printed template:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Report_Output_NotSorting.jpg" style="width: 821px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/92449iDB0D01832660802B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Report_Output_NotSorting.jpg" alt="Report_Output_NotSorting.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 22:07:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-ideas/can-we-get-a-sort-function-please/idc-p/1373217#M2781</guid>
      <dc:creator>DeborahDennison</dc:creator>
      <dc:date>2024-01-22T22:07:46Z</dc:date>
    </item>
  </channel>
</rss>

