Tricky issue where jobs which were scheduled at the same time would not be picked in the right order, because qSort is not required to be stable, that is, is not required to leave items which compare equal at the same rank in a list.
This situation would cause another job than the first in the job list to be picked as first job when the algorithm rescheduling close jobs executed, leading to an unexpected reordering of activities.