Is it possible to sort an arcpy.da.UpdateCursor()?

Is it possible to sort an arcpy.da.UpdateCursor()?

da.UpdateCursor

UpdateCursor (in_table, field_names, {where_clause}, {spatial_reference}, {explode_to_points}, {sql_clause})
SQL prefix supports None, DISTINCT, and TOP. SQL postfix supports None, ORDER BY, and GROUP BY.

sql_clause=(None, 'ORDER BY SORT_FIELD ASC') -- or DESC

原文地址:https://www.cnblogs.com/yzhyingcool/p/12378466.html