code: func sortJobs(c context.Context, jobs []*engine.Job) sortedJobs {
  	out := make(sortedJobs, len(jobs))
  	for i, job := range jobs {
  		out[i] = makeJob(c, job, nil)
  	}
  	sort.Sort(out)
  	return out
  }
docs: // sortJobs instantiate a bunch of schedulerJob objects and sorts them in
  // display order.