Sort job table by status