separating SearchRoot()

no functional change, but facilitates coding different move sorting
routine