added code to sort high scores