use multiset ordered by job priority instead of vector in scheduled jobs