Pegue todos os players do mysql e coloca nessa map
Map<String,Integer> map = new HashMap<>();
map.put("Maria", 900);
map.put("Joao", 1000);
map.put("Fernanda", 424);
List<Entry<String, Integer>> entries = new ArrayList<>(map.entrySet());
Collections.sort(entries, new Comparator<Entry<String, Integer>>() {
public int compare(Entry<String, Integer> o1, Entry<String, Integer> o2) {
return Integer.compare(o2.getValue(), o1.getValue());
}
});
try {
System.out.println("Primeiro = " + entries.get(0).getValue());
} catch (NoSuchElementException e){
System.out.println("Map está vazia");
return;
}
}