Singly linked list java

36 views Asked by At

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

Wrong answer mycode1 mycode2

Specifically, I don't understand how to create the code to sort by name if the scores are the same.

0

There are 0 answers