diff --git a/public/snapshot/index.html b/public/snapshot/index.html
index 1e1aba617142ab1f5adbeba6d8c92f0e5f886f3a..0ece6bcf7cc4415e89ab200f08051efa6614ab84 100644
--- a/public/snapshot/index.html
+++ b/public/snapshot/index.html
@@ -42,7 +42,7 @@
       <div class="col-sm-6">
         <div class="form-group">
           <label class="form-label">repository</label>
-          <select class="form-control" ng-model="form.repository" ng-options="r for r in repositories">
+          <select class="form-control" ng-model="form.repository" ng-options="r for r in repositories | orderBy:r">
             <option value="">select repository</option>
           </select>
         </div>
@@ -69,7 +69,7 @@
               <input type="checkbox" ng-model="showSpecialIndices" ng-true-value="true"> show special indices
             </label>
           </label>
-          <select multiple="multiple" ng-model="form.indices" ng-options="i.name as i.name for i in indices | orderBy:name"
+          <select multiple="multiple" ng-model="form.indices" ng-options="i.name as i.name for i in indices | orderBy:'name'"
                   class="form-control" size="13">
           </select>
         </div>