double versions sort + search