10.2 Query Task, ReturnIDsOnly and OrderByField

Discussion created by astranagan on Sep 27, 2013
In 10.1, we can get all records with ReturnIDsOnly set to true and order by a particular field, this no longer works in 10.2, if I add any OrderByField in 10.2, the query is going to fail. Is is a 10.2 bug or is there any way to get around this?