How to sort the results from the IFeature based on the data in Feature Class?

346
1
03-21-2013 05:00 AM
pavan_kumarmuttigi
New Contributor
Hi,

Can anyone please help me with this scenario?
I am facing a scenario like to locate the inputs on a feature class. For this I am trying to query over the Feature Class to and then I am using NALocation reference to locate the inputs.The issue I am facing is when I am trying to query over the Feature class for those inputs I am getting the unsorted results. Can anyone help me on how to sort the IFeature results from the Feature Class based on the data in Feature class.

Thanks in Advance.
0 Kudos
1 Reply
NeilClemmons
Regular Contributor III
Use IQueryFilterDefinition on your query filter to set an ORDER BY clause on the query.  You can also use ITableSort.
0 Kudos