Select to view content in your preferred language

Python sort records in ArcGIS 9.3

3145
2
Jump to solution
08-20-2015 09:16 AM
CynthiaKozma
Frequent Contributor

I haven't had much luck finding a solution to this - which seems like it should be so easy.  One of our servers is still running 9.3, and I have a daily python script that runs on it.  One of the updates I would like to make is to be able to sort the records in a geodatabase based on the field 'Project Number' - in ascending order.  I thought it was an easy addition of sort_management until I realized that this is only available after 10.0.  Is there any way to accomplish this with 9.3?  Any help is appreciated.

0 Kudos
1 Solution

Accepted Solutions
JoshuaBixby
MVP Esteemed Contributor

The code in the following script should get you most of the way there:  Permanently sort features/records in a table or featureclass.  It is written for ArcGIS 9.3

View solution in original post

0 Kudos
2 Replies
JoshuaBixby
MVP Esteemed Contributor

The code in the following script should get you most of the way there:  Permanently sort features/records in a table or featureclass.  It is written for ArcGIS 9.3

0 Kudos
CynthiaKozma
Frequent Contributor

Thank you, Joshua!!  That does exactly what I need it to do!

0 Kudos