fix: problem with directive updating and orderby