Only sort the player list when something changed
Avoid NPE when list does not exit
Update for CraftBukkit 1.4