Java Sort, is a HackerRank problem from Data Structures subdomain. In this post we will see how we can solve this challenge in Java

Problem Description

You are given a list of student information: ID, FirstName, and CGPA. Your task is to rearrange them according to their CGPA in decreasing order. If two student have the same CGPA, then arrange them according to their first name in alphabetical order. If those two students also have the same first n ....

You can find the full details of the problem Java Sort at HackerRank

Solution: Please check the JavaSort.java snippet for the solution.

Solution originally posted at: Github by @Java-aid