rearrange ids, searchCollection