implemented job filter and sorting