Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. Patch by flox
diff --git a/Lib/test/test_cgi.py b/Lib/test/test_cgi.py
index aa26bb6..44ebe10 100644
--- a/Lib/test/test_cgi.py
+++ b/Lib/test/test_cgi.py
@@ -104,7 +104,7 @@
 
 def norm(list):
     if type(list) == type([]):
-        list.sort()
+        list.sort(key=str)
     return list
 
 def first_elts(list):