diff --git a/migrations.py b/migrations.py
index 8c1f91ae59c90d8d06767d94a24385cbc5659936..ba4642466dd9837f5b0443d2750bd207a9b589d2 100644
--- a/migrations.py
+++ b/migrations.py
@@ -303,6 +303,12 @@ def migrate(migration):
             print bump(current_version)
 
     if current_version == 10:
+        print "Deleting 'sort_order' design document..."
+        if not conn.delete(db_url + "/_design/sort_order"):
+            print "'sort_order' design document not found"
+        print bump(current_version)
+
+    if current_version == 11:
         # Next migration goes here
         pass
 
diff --git a/src/main/resources/views/sort_order b/src/main/resources/views/sort_order
deleted file mode 100644
index 5b0208879f384da7fbc014b4910e4abdcbe39253..0000000000000000000000000000000000000000
--- a/src/main/resources/views/sort_order
+++ /dev/null
@@ -1,12 +0,0 @@
-{
-	"_id": "_design/sort_order",
-	"language": "javascript",
-	"views": {
-		"lecture_question_sort_order_by_sessionid_and_subject": {
-			"map": "function(doc) { if (doc.type == 'sort_order' && doc.questionVariant == 'lecture') { emit([doc.sessionId, doc.subject], doc); } }"
-		},
-		"preparation_question_sort_order_by_sessionid_and_subject": {
-			"map": "function(doc) { if (doc.type == 'sort_order' && doc.questionVariant == 'preparation') { emit([doc.sessionId, doc.subject], doc); } }"
-		}
-	}
-}