The IPs must be kept in some kind of order (in memory). From the examples I gave above, my particular nameserver returns them to me in a rotating order. Other nameservers may return their responses in a different order. Whether the reply rotates or is randomized, the fact is that somewhere between the nameserver and mIRC's output, the IPs are being numerically sorted.

-genius_at_work