Added sorting in scores