updating models to get list of jobs ordered by Id in addition to date so that no records are missed