<?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: Sort items in Contents Pane in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/sort-items-in-contents-pane/m-p/1035113#M38371</link>
    <description>&lt;P&gt;Rats; thought did it, but didn't.&amp;nbsp; When I right click on Standalone Tables it gives me the choice to reorder layers and that's what it does, but not tables....&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JoeBorgione_0-1615405684319.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/8117iE3F794B2D80FE7E1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JoeBorgione_0-1615405684319.png" alt="JoeBorgione_0-1615405684319.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Mar 2021 19:48:20 GMT</pubDate>
    <dc:creator>JoeBorgione</dc:creator>
    <dc:date>2021-03-10T19:48:20Z</dc:date>
    <item>
      <title>Sort items in Contents Pane</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/sort-items-in-contents-pane/m-p/1034982#M38349</link>
      <description>&lt;P&gt;Using ArcGIS Pro 2.7:&lt;/P&gt;&lt;P&gt;Is there a way to sort the items in the contents pane alphabetically? I have a stack of tables I'd like to order that way:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JoeBorgione_0-1615394581005.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/8075iA3E82C9FC0C9EB25/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JoeBorgione_0-1615394581005.png" alt="JoeBorgione_0-1615394581005.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 16:43:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/sort-items-in-contents-pane/m-p/1034982#M38349</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2021-03-10T16:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: Sort items in Contents Pane</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/sort-items-in-contents-pane/m-p/1035013#M38353</link>
      <description>&lt;P&gt;I think the short answer is no. If you right click on the map node in the TOC (what I would be calling a data frame in ArcMap) you can reorder layers by name/type, there is no equivalent for standalone tables. I did discover whilst looking into this question you can drag 'n' drop tables into a preferred order, but it would be nice to see a reorder option for tables too.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 17:24:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/sort-items-in-contents-pane/m-p/1035013#M38353</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2021-03-10T17:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: Sort items in Contents Pane</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/sort-items-in-contents-pane/m-p/1035015#M38354</link>
      <description>&lt;P&gt;Drag and drop is an option...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 17:27:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/sort-items-in-contents-pane/m-p/1035015#M38354</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2021-03-10T17:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: Sort items in Contents Pane</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/sort-items-in-contents-pane/m-p/1035041#M38360</link>
      <description>&lt;P&gt;four rules to a successful gis career&lt;/P&gt;&lt;P&gt;Pick something you want to do&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;left-click&lt;/LI&gt;&lt;LI&gt;right-click&lt;/LI&gt;&lt;LI&gt;double-click&lt;/LI&gt;&lt;LI&gt;if you don't see what you need you are clicking on the wrong thing or the wrong way.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;For example... unorder layers in a table of contents, order them&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ordered0.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/8094i450CAFFD8C75632E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ordered0.png" alt="ordered0.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ordered1.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/8095i4A9DD91A71CE3041/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ordered1.png" alt="ordered1.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ordered2.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/8096i5B1735A3042C00D1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ordered2.png" alt="ordered2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;might work for other things... or not&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 18:35:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/sort-items-in-contents-pane/m-p/1035041#M38360</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-03-10T18:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: Sort items in Contents Pane</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/sort-items-in-contents-pane/m-p/1035113#M38371</link>
      <description>&lt;P&gt;Rats; thought did it, but didn't.&amp;nbsp; When I right click on Standalone Tables it gives me the choice to reorder layers and that's what it does, but not tables....&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JoeBorgione_0-1615405684319.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/8117iE3F794B2D80FE7E1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JoeBorgione_0-1615405684319.png" alt="JoeBorgione_0-1615405684319.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 19:48:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/sort-items-in-contents-pane/m-p/1035113#M38371</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2021-03-10T19:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: Sort items in Contents Pane</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/sort-items-in-contents-pane/m-p/1035121#M38373</link>
      <description>&lt;P&gt;hence the....&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;might work for other things...&lt;STRONG&gt; or not&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 19:57:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/sort-items-in-contents-pane/m-p/1035121#M38373</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-03-10T19:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: Sort items in Contents Pane</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/sort-items-in-contents-pane/m-p/1035159#M38386</link>
      <description>&lt;P&gt;You forgot to mention to spin around, touch your toes and shout goooo esri!&amp;nbsp; ... or not&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 21:40:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/sort-items-in-contents-pane/m-p/1035159#M38386</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2021-03-10T21:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Sort items in Contents Pane</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/sort-items-in-contents-pane/m-p/1424223#M83068</link>
      <description>&lt;P&gt;Yes, using arcpy.&amp;nbsp; See my post &lt;A href="https://community.esri.com/t5/python-questions/alphabetically-sorting-tables-in-the-contents-pane/m-p/1424212" target="_self"&gt;here&lt;/A&gt;, or the code below.&lt;/P&gt;&lt;LI-CODE lang="python"&gt;# get active map in current project
p = arcpy.mp.ArcGISProject("CURRENT")
m = p.activeMap

# sort table names
sortedtables = sorted([t.name for t in m.listTables()])

# create new group
g = m.createGroupLayer("Sorted Tables")

# for each table, add to group and remove the original
for x in sortedtables:
    t = m.listTables(x)[0]
    m.addTableToGroup(g,t)
    m.removeTable(t)&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 09 May 2024 18:29:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/sort-items-in-contents-pane/m-p/1424223#M83068</guid>
      <dc:creator>BrennanSmith1</dc:creator>
      <dc:date>2024-05-09T18:29:42Z</dc:date>
    </item>
  </channel>
</rss>

