Hello.
You class Students can implement the java.util.Comparable interface and override the compareTo() method.
In this method, write the logic based on your sorting requirements.
Then you...