Changed HashMap to LinkedHashMap #167

Changed HashMap to LinkedHashMap.
Please review #167 ,and merge to 1.0.x branch.