Sort interfaces array

Sort the interfaces array so /etc/network/interface file will not change on every iteration.
Merge pull request #1 from dguerri/master

Sort the interfaces array so /etc/network/interface file will not change on every iteration by dguerri