Map enumerators start before the first element in the list. You must call the MapEnumerator.moveNext method to make it point to the first element in the list.
The sequence in which the elements are inserted does not determine the order in which they occur. The order is defined by the ordering of the elements. Elements with lower keys appear before elements with higher keys. The usual ordering for the types is used. However, if the keys are objects, the addresses of the objects are used to supply the ordering and no specific ordering may consequently be inferred. The addresses of the objects are transient by nature.
The only situation where you have to use a map iterator is when you want to delete items from a list (use the MapIterator.delete method).