diff --git a/cts/schemas/test-3/ref.err/sort-nvsets.ref.err-0 b/cts/schemas/test-3/ref.err/sort-nvsets.ref.err-0
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/cts/schemas/test-3/ref.err/sort-nvsets.ref.err-1 b/cts/schemas/test-3/ref.err/sort-nvsets.ref.err-1
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/cts/schemas/test-3/ref.err/sort-nvsets.ref.err-99 b/cts/schemas/test-3/ref.err/sort-nvsets.ref.err-99
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/cts/schemas/test-3/ref/sort-nvsets.ref-0 b/cts/schemas/test-3/ref/sort-nvsets.ref-0
new file mode 100644
index 0000000000..e3c3a26942
--- /dev/null
+++ b/cts/schemas/test-3/ref/sort-nvsets.ref-0
@@ -0,0 +1,115 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/cts/schemas/test-3/ref/sort-nvsets.ref-1 b/cts/schemas/test-3/ref/sort-nvsets.ref-1
new file mode 100644
index 0000000000..d06f9948d2
--- /dev/null
+++ b/cts/schemas/test-3/ref/sort-nvsets.ref-1
@@ -0,0 +1,115 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/cts/schemas/test-3/ref/sort-nvsets.ref-99 b/cts/schemas/test-3/ref/sort-nvsets.ref-99
new file mode 100644
index 0000000000..69ac9aacbb
--- /dev/null
+++ b/cts/schemas/test-3/ref/sort-nvsets.ref-99
@@ -0,0 +1,113 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/cts/schemas/test-3/xml/sort-nvsets.xml b/cts/schemas/test-3/xml/sort-nvsets.xml
new file mode 100644
index 0000000000..1b070d484a
--- /dev/null
+++ b/cts/schemas/test-3/xml/sort-nvsets.xml
@@ -0,0 +1,113 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+