No, it's more of a generic programming thing. You shouldn't make assumptions on how things work, otherwise you end up with mistakes when the internal implementation changes.

One example would be alphabetical ordering. If the array would order alphabetically upon insertion, you'd be highlighting the wrong one.