changed HashMap to LinkedHashMap for Statistics.entitiesCounter