Move ability to sort action in job.pm

Move ability to sort action in job.pm