Sort VPLS json at the top level

Change-Id: I3228d3f14165397fc169903a6a20e766b0f39942
diff --git a/TestON/tests/USECASE/VPLS/dependencies/vpls.py b/TestON/tests/USECASE/VPLS/dependencies/vpls.py
index 8dfdd46..25ee806 100644
--- a/TestON/tests/USECASE/VPLS/dependencies/vpls.py
+++ b/TestON/tests/USECASE/VPLS/dependencies/vpls.py
@@ -13,6 +13,7 @@
         Makes sure encapsulation type is all uppercase
         Make sure an empty list of interfaces is formated consistently
         Sorts the list of interfaces
+        Sorts the list of networks
     """
     # Convert to same string formats
     config = json.loads( json.dumps( config ) )
@@ -27,6 +28,7 @@
         else:
             ifaces = sorted( ifaces )
             network['interfaces'] = ifaces
+    config = sorted( config, key=lambda k: k['name'] )
     return config
 
 def verify( main ):