How can I make the output be sorted by score and alphabetically?
Arya 89
Raffi 89
Thoriq 89
Hasan 79
Husain 79
Krisna 90
Sample Output 1
1. Krisna 90
2. Arya 89
2. Raffi 89
2. Thoriq 89
3. Hasan 79
3. Husain 79
Specifically, I don't understand how to create the code to sort by name if the scores are the same.