Efficient Job List Statistics

Hi, I am writing a tool to go through our job list, see if it is submitted within a valid date range, and calculate various statistic about the jobs.

I am just wondering if there are any tips for doing this efficiently as currently it is incredibly slow to loop through all the jobs returned by RepositoryUtils.GetJobs(0) and seems wasteful when i am only interested in a small number of them.

Is there a way to return the jobs by order of submission date or some other way to loop through the job list that is faster that I do not know about?

Cheers,
Stephen