ESTEST-206 - Shipping Scheduler should first assign the earlier sched_id rather than the later sched_id