container.directory: fix pointer in refilter, not in sort