ORDER BY with Definition Expression

Discussion created by jgreco on Oct 14, 2011
Latest reply on Oct 14, 2011 by svinnakota-esristaff
I can use ORDER BY in my where clause to sort the results if I do not have a definition expression set.  However, if my layer does have a definition express set, the query fails.  Anyone have any suggestions or workarounds?  I'm hoping this gets fixed in 10.1 since there is going to be an order fields parameter.