refactored job order_by at job.rb