when is selection sort better than insertion sort
Selection sort Simple calculation shows that insertion sort will therefore usually perform about half as many comparisons as selection sort, although it can perform just as many or far fewer depending on the order the array was in prior to sorting. It can be seen as an advantage for some real-time applications that selection sort will perform identically regardless of the order of the array, while insertion sort's running time can vary considerably. However, this is more often an advantage for insertion sort in that it runs much more efficiently if the array is already sorted or "close to sorted."
Aaron Rodgers Before the draft, Rodgers was confident that he would be drafted to the team he supported and grew up near,[42] the San Francisco 49ers, who possessed the No. 1 overall pick in the draft. The 49ers, however, drafted quarterback Alex Smith out of Utah instead, and Rodgers slid all the way down to the 24th overall pick by the Green Bay Packers. Rodgers has said that he experienced much angst and restlessness when waiting to be selected several hours into the draft, as he had expected himself to be selected much sooner.[42] Rodgers's slip to the 24th selection and the Packers choosing to pick Brett Favre's future replacement became one of the biggest stories of the draft, though he was still the second quarterback selected. His drop in the draft was later ranked number one on the NFL Network's Top 10 Draft Day Moments. Many teams drafting between the second and 23rd positions had positional needs more pressing than quarterback.[43][44]