function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
VinnieBVinnieB 

'order by' in SoQL

I'm doing queries and retrieving results just fine.  However, the results are usually not sorted the way I'd prefer.  I guess I could create a vector of the results and do the sort in there.  But this would be a bit of a pain.  Is there a way that one can order the results of a query in SoQL?
adamgadamg
Unfortuately, we currently do not support sorting in SOQL.  You'll need to do this on the client using your favorite collections object.