Hi, how can I sort players array by 0-9 & A-z Code: final Player[] onPlayers = serverGT.getOnlinePlayers(); ... For use in Code: for(int i = 0; i < onPlayers.length; i++) { ..... ... Thanks
Code:java Player[] players = getServer().getOnlinePlayers();String[] playerNames = {};for (int i=0; i<players.length; i++) { playerNames[i] = players.getName();}Arrays.sort(playerNames);[/i]