Related Posts
Is TechM fire people ?
DB ECM - does anyone have a view?
Can anyone help me with referral in Deloitte?
Additional Posts in Salesforce Professionals
New to Fishbowl?
Download the Fishbowl app to
unlock all discussions on Fishbowl.
unlock all discussions on Fishbowl.


You give it a time like Order by 5 pm and that’s when the results are delivered.
Sounds like a trailhead fake answer lmao
Subject Expert
Uh, did you research docs?
Sarcastic. This was a legit question from a partner.
Order by does exactly what it means, it orders the set of record retrieved by the SOQL statement. You use order by when you need to order the records based on any field on the object. It can order records in ascending or descending order of the field type that is text, number or date.
It is not a requirement to use order by in every SOQL statement where the retrieved records will be in random order.