Never use HashMap. Always use LinkedHashMap.