@Override
    public void scheduleBatch(List<SchedulableInstance<?>> schedulableInstances) {
      List<ScheduledTaskInstance> batchToSchedule =
          schedulableInstances.stream()
              .map(schedulable -> ScheduledTaskInstance.fixExecutionTime(schedulable, clock))
              .collect(toList());

      taskRepository.createBatch(batchToSchedule);
      notifyListenersOfScheduledBatch(batchToSchedule);
    }
Will cause getScheduledExecutions(..) to return executions in priority order.
db-scheduler/src/main/java/com/github/kagkarlsson/scheduler/SchedulerClient.java