<?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: Sorting attribute tables by Python in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/sorting-attribute-tables-by-python/m-p/435853#M34242</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply Dan, &lt;/P&gt;&lt;P&gt;I forgot to mention that I need to sort the table permanently. The method you mention is a temporary sort so it does not change the table's original order.&lt;/P&gt;&lt;P&gt;Best,&lt;BR /&gt;Cem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Jan 2016 23:18:42 GMT</pubDate>
    <dc:creator>CemAkkus2</dc:creator>
    <dc:date>2016-01-05T23:18:42Z</dc:date>
    <item>
      <title>Sorting attribute tables by Python</title>
      <link>https://community.esri.com/t5/python-questions/sorting-attribute-tables-by-python/m-p/435850#M34239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello there!&lt;/P&gt;&lt;P&gt;In new ArcGIS version, sorting is now limited to 1 field. I don't have an advanced license and I need to sort my attribute table based on 2 fields. I was wondering if there is a python script for 2 field sort. &lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Cem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Jan 2016 22:51:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/sorting-attribute-tables-by-python/m-p/435850#M34239</guid>
      <dc:creator>CemAkkus2</dc:creator>
      <dc:date>2016-01-03T22:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting attribute tables by Python</title>
      <link>https://community.esri.com/t5/python-questions/sorting-attribute-tables-by-python/m-p/435851#M34240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://desktop.arcgis.com/en/desktop/latest/manage-data/tables/sorting-records-in-a-table-by-multiple-fields.htm" title="http://desktop.arcgis.com/en/desktop/latest/manage-data/tables/sorting-records-in-a-table-by-multiple-fields.htm"&gt;Sorting records in a table by multiple fields—Help | ArcGIS for Desktop&lt;/A&gt;&amp;nbsp; this doesn't work?&amp;nbsp; And of course sorts aren't permanent in any event&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Jan 2016 23:09:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/sorting-attribute-tables-by-python/m-p/435851#M34240</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-01-03T23:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting attribute tables by Python</title>
      <link>https://community.esri.com/t5/python-questions/sorting-attribute-tables-by-python/m-p/435852#M34241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could also use &lt;A href="http://desktop.arcgis.com/en/desktop/latest/tools/data-management-toolbox/sort.htm" title="http://desktop.arcgis.com/en/desktop/latest/tools/data-management-toolbox/sort.htm"&gt;Sort—Help | ArcGIS for Desktop&lt;/A&gt; if you desire to create a copy of the table that is sorted by multiple fields. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jan 2016 14:04:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/sorting-attribute-tables-by-python/m-p/435852#M34241</guid>
      <dc:creator>WesMiller</dc:creator>
      <dc:date>2016-01-04T14:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting attribute tables by Python</title>
      <link>https://community.esri.com/t5/python-questions/sorting-attribute-tables-by-python/m-p/435853#M34242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply Dan, &lt;/P&gt;&lt;P&gt;I forgot to mention that I need to sort the table permanently. The method you mention is a temporary sort so it does not change the table's original order.&lt;/P&gt;&lt;P&gt;Best,&lt;BR /&gt;Cem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2016 23:18:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/sorting-attribute-tables-by-python/m-p/435853#M34242</guid>
      <dc:creator>CemAkkus2</dc:creator>
      <dc:date>2016-01-05T23:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting attribute tables by Python</title>
      <link>https://community.esri.com/t5/python-questions/sorting-attribute-tables-by-python/m-p/435854#M34243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply Wes,&lt;/P&gt;&lt;P&gt;I found that page after I posted. However, there is still a problem with "Python Window" version. I get this warning:&lt;/P&gt;&lt;P&gt;Runtime error&amp;nbsp; Traceback (most recent call last):&amp;nbsp;&amp;nbsp; File "&amp;lt;string&amp;gt;", line 6, in &amp;lt;module&amp;gt;&amp;nbsp;&amp;nbsp; File "c:\program files (x86)\arcgis\desktop10.3\arcpy\arcpy\management.py", line 4351, in Sort&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; raise e ExecuteError: ERROR 000824: The tool is not licensed. &lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;It seems ArcGIS requires Advanced License for advance permanent sorting in ArcGIS environment. However, I tested stand-alone Python script version and finally that one worked well.&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Cem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2016 23:23:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/sorting-attribute-tables-by-python/m-p/435854#M34243</guid>
      <dc:creator>CemAkkus2</dc:creator>
      <dc:date>2016-01-05T23:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting attribute tables by Python</title>
      <link>https://community.esri.com/t5/python-questions/sorting-attribute-tables-by-python/m-p/435855#M34244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes to sort by shape or multiple fields requires an Advanced license see below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H5 class="icon-key" style="margin-bottom: 0.63158em; font-family: 'Avenir LT W01 65 Medium', Arial, Helvetica, sans-serif; font-weight: 500; font-size: 0.875rem; padding-right: 1rem; padding-left: 0.5em; color: #4d4d4d;"&gt;License:&lt;/H5&gt;&lt;P style="font-size: 0.875rem; margin-bottom: 1.71429em;"&gt;For the &lt;SPAN class="uicontrol" style="font-weight: bold;"&gt;Field(s)&lt;/SPAN&gt; parameter, sorting by the &lt;SPAN class="usertext" style="font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-weight: bold;"&gt;Shape&lt;/SPAN&gt; field or by multiple fields is only available with an&lt;SPAN class="ph"&gt;Advanced&lt;/SPAN&gt; license. Sorting by any single attribute field (excluding &lt;SPAN class="usertext" style="font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-weight: bold;"&gt;Shape&lt;/SPAN&gt;) is available at all license levels.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 15:38:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/sorting-attribute-tables-by-python/m-p/435855#M34244</guid>
      <dc:creator>WesMiller</dc:creator>
      <dc:date>2016-01-06T15:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting attribute tables by Python</title>
      <link>https://community.esri.com/t5/python-questions/sorting-attribute-tables-by-python/m-p/435856#M34245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ahhhh, but then there is numpy &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 16:57:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/sorting-attribute-tables-by-python/m-p/435856#M34245</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-01-06T16:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting attribute tables by Python</title>
      <link>https://community.esri.com/t5/python-questions/sorting-attribute-tables-by-python/m-p/435857#M34246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm waiting for you to open the group &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 16:59:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/sorting-attribute-tables-by-python/m-p/435857#M34246</guid>
      <dc:creator>WesMiller</dc:creator>
      <dc:date>2016-01-06T16:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting attribute tables by Python</title>
      <link>https://community.esri.com/t5/python-questions/sorting-attribute-tables-by-python/m-p/435858#M34247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;However, advanced sort still doable with stand-alone python script without advanced license.. which is good &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 23:14:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/sorting-attribute-tables-by-python/m-p/435858#M34247</guid>
      <dc:creator>CemAkkus2</dc:creator>
      <dc:date>2016-01-06T23:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting attribute tables by Python</title>
      <link>https://community.esri.com/t5/python-questions/sorting-attribute-tables-by-python/m-p/435859#M34248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just so you are aware. It is likely that you have a license manager and an Advanced license is available when you run your python script. I am unable to locate the documentation to support this,but I've read that&amp;nbsp; arcpy gets the highest license available unless you explicitly set the license. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 15:50:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/sorting-attribute-tables-by-python/m-p/435859#M34248</guid>
      <dc:creator>WesMiller</dc:creator>
      <dc:date>2016-01-07T15:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting attribute tables by Python</title>
      <link>https://community.esri.com/t5/python-questions/sorting-attribute-tables-by-python/m-p/435860#M34249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Documentation will not state it, since the behavior is a bug (still present in 10.3.1), but arcpy will claim the highest license available by default and ignore the import arcview and import arceditor statements is Advanced is available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See a discussion on this topic here: &lt;A href="https://community.esri.com/message/446333"&gt;import arceditor does not set proper license level&lt;/A&gt; .&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 17:04:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/sorting-attribute-tables-by-python/m-p/435860#M34249</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2016-01-07T17:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting attribute tables by Python</title>
      <link>https://community.esri.com/t5/python-questions/sorting-attribute-tables-by-python/m-p/435861#M34250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A _jive_internal="true" href="https://community.esri.com/people/xander_bakker"&gt;Xander Bakker&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 18:25:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/sorting-attribute-tables-by-python/m-p/435861#M34250</guid>
      <dc:creator>WesMiller</dc:creator>
      <dc:date>2016-01-07T18:25:57Z</dc:date>
    </item>
  </channel>
</rss>

