app/django/utils/itercompat.py
changeset 323 ff1a9aa48cfd
parent 54 03e267d67478
--- a/app/django/utils/itercompat.py	Tue Oct 14 12:36:55 2008 +0000
+++ b/app/django/utils/itercompat.py	Tue Oct 14 16:00:59 2008 +0000
@@ -67,3 +67,9 @@
     else:
         return True
 
+def sorted(in_value):
+    "A naive implementation of sorted"
+    out_value = in_value[:]
+    out_value.sort()
+    return out_value
+