Respect elements order in maps