private void notifyListenersOfScheduledBatch(List<ScheduledTaskInstance> batchToSchedule) {
      batchToSchedule.forEach(
          instance ->
              schedulerListeners.onExecutionScheduled(instance, instance.getExecutionTime()));
    }
Will cause getScheduledExecutions(..) to return executions in priority order.
db-scheduler/src/main/java/com/github/kagkarlsson/scheduler/SchedulerClient.java