AnsweredAssumed Answered

How to sort features in a Cursor

Question asked by jsn on Oct 11, 2019

Hello everyone,

 

How can  I sort the feature class I am reading with a cursor, I would like to sort features  by for example Commission District or Municipality, or Project Number.

 

 

pCursor = pFeatureClassParcel.Search(Nothing, False)

currentFeature = pCursor.NextFeature()

'
' Parcel Found
'
Do While Not currentFeature Is Nothing

....

currentFeature = pCursor.NextFeature()

Loop

Outcomes