update DE with foreca and sorting