added a new mode to order the jobs (by its slack)