Use a TreeMap instead of a LinkedHashMap and then manually sorting This will significantly reduce CPU usage on logging in and changing worlds.