you have two LinkedHashMaps
Map m1 = new LinkedHashMap();
m1.put("1","One");
m1.put("3","Three");
Map m2 = new LinkedHashMap();
m2.put("2","Two");
m2.put("4","Four");
Find keys from both the Linked HashMap and store it in a list alternatively.
The list should contain 1,2,3,4.
This is solution: