Sorting attribute tables by Python

6331
11
Jump to solution
01-03-2016 02:51 PM
CemAkkus2
New Contributor II

Hello there!

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.

Thanks!

Cem

0 Kudos
11 Replies
XanderBakker
Esri Esteemed Contributor

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.

See a discussion on this topic here: import arceditor does not set proper license level

WesMiller
Regular Contributor III

Thanks Xander Bakker

0 Kudos