PLCGenerator.py
changeset 684 f10449b18dbe
parent 644 6ff54a34102b
child 742 75096d6c271c
--- a/PLCGenerator.py	Sat May 12 12:33:17 2012 +0200
+++ b/PLCGenerator.py	Fri May 18 18:49:49 2012 +0200
@@ -821,6 +821,7 @@
                     otherInstances["outVariables&coils"].append(instance)
             orderedInstances.sort()
             otherInstances["outVariables&coils"].sort(SortInstances)
+            otherInstances["blocks"].sort(SortInstances)
             instances = [instance for (executionOrderId, instance) in orderedInstances]
             instances.extend(otherInstances["connectors"] + otherInstances["outVariables&coils"] + otherInstances["blocks"])
             for instance in instances: