Job table and status

Sorted the job table and row highlighting depending on the status of the
job