I'm looking for a way to achieve this in SOQL:
https://stackoverflow.com/questions/8532599/need-to-perform-order-by-twice
I'd like to order by the Priority field on Case, otherwise order by Age of Case
So for example:
Priority - Age of Case
Urgent , 5
Urgent , 4
High , 7
High , 6
Low , 17
Low , 10
Low , 5
Hope this makes sense.
ORDER BY Field1, Field2
. Accepted answer goes to first who posts a link to the documentation where this is detailed