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.