aboutsummaryrefslogtreecommitdiff
path: root/doc/user/example/sort_album.vos
diff options
context:
space:
mode:
Diffstat (limited to 'doc/user/example/sort_album.vos')
-rw-r--r--doc/user/example/sort_album.vos9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/user/example/sort_album.vos b/doc/user/example/sort_album.vos
new file mode 100644
index 0000000..18c0286
--- /dev/null
+++ b/doc/user/example/sort_album.vos
@@ -0,0 +1,9 @@
+#
+# example of sort statement with two field
+#
+LOAD "album.data" (
+ '\'':title :'\''::,
+ :artist_idx: :28:28
+) as album;
+
+SORT album BY artist_idx, title INTO "album_sorted.data";