diff options
-rw-r--r-- | src/logikorr/servlet.clj | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/logikorr/servlet.clj b/src/logikorr/servlet.clj index 79ff1e0..7160f1f 100644 --- a/src/logikorr/servlet.clj +++ b/src/logikorr/servlet.clj @@ -43,7 +43,9 @@ (ds/create {:kind "revision" :number 0}))) (defn find-students [] - (ds/find-all (doto (Query. "student" (:key (current-revision)))))) + (ds/find-all (doto (Query. "student" (:key (current-revision))) + (.addSort "last-name") + (.addSort "first-name")))) (defn position [coll thing] (loop [i 0, |