You should use LinkedHashMap for this purpose..Visit Android Docs and Java Docs for more details.
LinkedHashMap
The LinkedHashMap maintains insertion order.
A LinkedHashMap will keep the data in the same order as it has been inserted.