On a Windows 7 computer:

Went to Control Panel\Network and Internet\Network Connections\ -> Advanced -> Advanced Settings

On Adapters and Bindings moved "Local Area Connection 6" (my physical ethernet connection) to the top (over the "VMware Network Adapter VMnet1")

And script started returning correct values order.

Thank you very much!