you may never have to sort it at all, if you insert new scores into the list in the proper location in the first place. first, check if the new score is greater than the first score in the array, if not, you didn’t get a high score. if it is greater than the lowest score in the array, foreach through the array, comparing the new score with each score in the array, until you find one larger or reach the end of the array, then insert the new score at that index.