Corrected invalid condition
Student sorting according to GPA, added the algo and lib