python: Stabilize some script outputs
[mesa.git] / src / amd / common / sid_tables.py
index 4e53acefa44c560a75a6bf08f5aa13d545d28495..ca90f82535d962e48a82807210a874e0095d24f6 100644 (file)
@@ -65,7 +65,7 @@ class StringTable:
         fragments = [
             '"%s\\0" /* %s */' % (
                 te[0].encode('string_escape'),
-                ', '.join(str(idx) for idx in te[2])
+                ', '.join(str(idx) for idx in sorted(te[2]))
             )
             for te in self.table
         ]