The order with "For Each" processes elements in a list, can be assumed to be from index 0 to Length-1, or is not defined?
And, is it consistent across all B4X platforms, or it can behave differently, just like map keys order in B4i?
B4XOrderedMap from B4XCollections, is a combination of a List with a Map. Avoid calling OrderedMap.Values unless you need to access all values, as it creates and fills a new List each call. The Keys list, on the other hand, is a list maintained by the collection and can be accessed directly...