OHAI-529 sort interfaces in ip_scopes before assigning privateaddress

Hash keys are ordered in Ruby > 1.9, so the plugin behaved differently
between 1.8 and newer versions. In order to make the code (and tests)
more deterministic, let's sort network interfaces before doing work.