I know that for *associative* arrays, there's no inherent order for the array keys:

```
declare -A map=([a]=b [c]=d [e]=f)
echo "${!map[@]}"   # => e c a (perhaps)

```

But what about indexed arrays?

Trying this:

```
declare -a list
for i in {1..1000}; do list[RANDOM]=1; done
echo "${!list[@]}"

```

It appears that the indices are numerically ordered. But can I rely on that?