<?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: IGeoprocessor - Sort in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/igeoprocessor-sort/m-p/737077#M19579</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When working with geoprocessing tool inputs, I find it helpful to run the tool in ArcMap using the parameters that I want to set and reviewing the results to see how they actually are used in the tool. Here, I ran the Sort tool on a dataset using the field POP2000 and Descending.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]21708[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So for your case, you'll want to use "ELEVATION_ DESCENDING"&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Feb 2013 12:55:56 GMT</pubDate>
    <dc:creator>KenBuja</dc:creator>
    <dc:date>2013-02-12T12:55:56Z</dc:date>
    <item>
      <title>IGeoprocessor - Sort</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/igeoprocessor-sort/m-p/737076#M19578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I desperately try to implement the "Sort" Geoprocessor. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Everything seems to be ok, except of the value "sort_field" where I want to implement a descent sort.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What's the syntax in VB.NET to add the DESCENDING command to the sort field?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"ELEVATION_""DESCENDING" is not working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Corko&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;GP2 = New Geoprocessor&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim Sort As ESRI.ArcGIS.DataManagementTools.Sort&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sort = New ESRI.ArcGIS.DataManagementTools.Sort&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sort.in_dataset = "EHED_OBSP_RAW"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sort.out_dataset = "EHED_OBSP_RAW_500"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sort.sort_field = "ELEVATION_"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GP2.Execute(Sort, Nothing)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 11:33:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/igeoprocessor-sort/m-p/737076#M19578</guid>
      <dc:creator>KonradLorch</dc:creator>
      <dc:date>2013-02-12T11:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: IGeoprocessor - Sort</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/igeoprocessor-sort/m-p/737077#M19579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When working with geoprocessing tool inputs, I find it helpful to run the tool in ArcMap using the parameters that I want to set and reviewing the results to see how they actually are used in the tool. Here, I ran the Sort tool on a dataset using the field POP2000 and Descending.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]21708[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So for your case, you'll want to use "ELEVATION_ DESCENDING"&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 12:55:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/igeoprocessor-sort/m-p/737077#M19579</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2013-02-12T12:55:56Z</dc:date>
    </item>
  </channel>
</rss>

