make sure we sort the blacklist on Replace