questionable 'order by' functionality

556
1
08-05-2011 03:31 PM
LukePhilips
New Contributor III
trying out the new order by parameter in the query method. It appears the order by is applied to the results the query gets from the database, that it is not applied directly to the database query. is this correct?
0 Kudos
1 Reply
RaviNarayanan
Esri Contributor
The order applies to the fields by which the results are ordered. Please note this is supported only if the datasource of the layer/table supports ordering as indicated by the "supportsAdvancedQueries" property of the layer/table.
0 Kudos