<?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>topic Re: ArcPro Multivalue  parameter keeps sorting in python script tool, is this a bug? in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/arcpro-multivalue-parameter-keeps-sorting-in/m-p/1252675#M6482</link>
    <description>&lt;P&gt;hmmm&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="multivalue.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/61548i667D4F5FC0C6C689/image-size/medium?v=v2&amp;amp;px=400" role="button" title="multivalue.png" alt="multivalue.png" /&gt;&lt;/span&gt;3.1&lt;/P&gt;</description>
    <pubDate>Sun, 29 Jan 2023 02:52:59 GMT</pubDate>
    <dc:creator>DanPatterson</dc:creator>
    <dc:date>2023-01-29T02:52:59Z</dc:date>
    <item>
      <title>ArcPro Multivalue  parameter keeps sorting in python script tool, is this a bug?</title>
      <link>https://community.esri.com/t5/developers-questions/arcpro-multivalue-parameter-keeps-sorting-in/m-p/1252646#M6479</link>
      <description>&lt;P&gt;I am developing a suite of geoprocessing tools in Python in the new ArcPro 3.0.1 toolbox (atbx).&amp;nbsp; One of my parameters is a multivalue parameter of fields which is dependent upon a previous parameter selection (the layer the fields are coming from).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="DuncanHornby_0-1674946265004.png" style="width: 832px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/61536i76BA85FFBD0DE6E4/image-dimensions/832x312?v=v2" width="832" height="312" role="button" title="DuncanHornby_0-1674946265004.png" alt="DuncanHornby_0-1674946265004.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This creates the desired ability to choose one or more fields from the layer. But during testing I have noticed an odd behaviour which I don't want and am unsure if this a property that can be fixed through coding or its a bug, or (unwanted) behaviour baked in by esri?&lt;/P&gt;&lt;P&gt;So.. If I run the tool, set the layer, I can choose my fields; if I select them via the drop down then they are displayed in order as they are in the attribute table as shown below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="DuncanHornby_1-1674946571508.png" style="width: 441px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/61537iBD38A573411F3867/image-dimensions/441x443?v=v2" width="441" height="443" role="button" title="DuncanHornby_1-1674946571508.png" alt="DuncanHornby_1-1674946571508.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P class="lia-align-center"&gt;&lt;EM&gt;The fields are displaying in the order as they are found in the attribute table (i.e. unsorted)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But if I use the add many fields button the list is displayed in name sort order as shown below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="DuncanHornby_2-1674946702180.png" style="width: 453px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/61538iB8C374E32DB9A9B6/image-dimensions/453x353?v=v2" width="453" height="353" role="button" title="DuncanHornby_2-1674946702180.png" alt="DuncanHornby_2-1674946702180.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P class="lia-align-center"&gt;&lt;EM&gt;Fields in drop down are presented in name sort order&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;How do I stop/correct it from sorting by name order?&lt;/P&gt;</description>
      <pubDate>Sat, 28 Jan 2023 23:02:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcpro-multivalue-parameter-keeps-sorting-in/m-p/1252646#M6479</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2023-01-28T23:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: ArcPro Multivalue  parameter keeps sorting in python script tool, is this a bug?</title>
      <link>https://community.esri.com/t5/developers-questions/arcpro-multivalue-parameter-keeps-sorting-in/m-p/1252675#M6482</link>
      <description>&lt;P&gt;hmmm&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="multivalue.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/61548i667D4F5FC0C6C689/image-size/medium?v=v2&amp;amp;px=400" role="button" title="multivalue.png" alt="multivalue.png" /&gt;&lt;/span&gt;3.1&lt;/P&gt;</description>
      <pubDate>Sun, 29 Jan 2023 02:52:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcpro-multivalue-parameter-keeps-sorting-in/m-p/1252675#M6482</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2023-01-29T02:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: ArcPro Multivalue  parameter keeps sorting in python script tool, is this a bug?</title>
      <link>https://community.esri.com/t5/developers-questions/arcpro-multivalue-parameter-keeps-sorting-in/m-p/1252691#M6483</link>
      <description>&lt;P&gt;So this is functionality that's coming in 3.1? So sit and wait is your advice! Will be interesting to see if that cog button is something exposed to the developer when creating a script tool?&lt;/P&gt;</description>
      <pubDate>Sun, 29 Jan 2023 13:10:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcpro-multivalue-parameter-keeps-sorting-in/m-p/1252691#M6483</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2023-01-29T13:10:56Z</dc:date>
    </item>
  </channel>
</rss>

