Hey all, I'm hoping someone can help me with a bit of a problem I've run into. Basically I have an array of numbers that correspond to an 'ID' in a database. I can run a loop to get all the results, however I need to order all of the results by the 'date' field, rather than the 'ID' field.
Simplified, if I have an array with 1,3,17,9, I need to get all events with these ID's, and order them by their corresponding dates.
Can anyone point me in the right direction?