• + 0 comments

    /* *@Author : Rehan */ public int compare(Player a, Player b){ int scoreCompare = b.score - a.score; int nameCompare = a.name.compareTo(b.name); if(scoreCompare==0) { return nameCompare; }else{ return scoreCompare; } }