changed return type of order() to int

5 jobs for master in 15 minutes and 30 seconds (queued for 53 seconds)