Bug 1352301: Use OrderedDict to preserve order of different subnets

Change-Id: I58f45ded6f2c78a20e0464189a04e8c2ff37cfb5
Merge "Bug 1352301: Use OrderedDict to preserve order of different subnets" into R1.10