Can we rely on using indices to refer a particular host?

My hosts file is this

[prod_webservers]
1.1.1.1
2.2.2.2
3.3.3.3
4.4.4.4
5.5.5.5

If my playbook is like this,

Order is pinned properly in 1.4 (so indexing is safe and it’s in order), but inconsistent in earlier versions – where things may sort. In 1.4 the input order will be used.

In the case of a dynamic inventory plugin, these are typically returned as hashes, and thus should come out sorted.

Thanks Michael.