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

 

posted @ 2020-02-28 18:37  yzhyingcool  阅读(343)  评论(0编辑  收藏  举报