I believe it is based on a combination of weighted value for each recruit plus the total number of recruits. The more players you recruit, the better your odds of being ranked. But I have also seen teams ranked #1 who have only signed 1 recruit - but that recruit was the #1 overall.
I agree that potential is not a factor at all. Also, it seems signing JUCOs helps tremendously.