Case insensitive sort

This commit is contained in:
md_5 2013-03-12 17:11:06 +11:00
parent e2f134ec08
commit 4805087e38

View File

@ -41,7 +41,7 @@ public class CommandList extends Command
{ {
players.add( player.getDisplayName() ); players.add( player.getDisplayName() );
} }
Collections.sort( players ); Collections.sort( players, String.CASE_INSENSITIVE_ORDER );
if ( !players.isEmpty() ) if ( !players.isEmpty() )
{ {