aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2013-03-03 19:40:58 -0500
committerEugeniy Mikhailov <evgmik@gmail.com>2013-03-03 19:40:58 -0500
commit16c16a352f3054cc28cd0cf5bf2ba27155ff248f (patch)
tree7a358c889f2c0848fab5f0bfc272a7b9707dbe9d
parent00304a640aeda2e984d6fd936e773340bd614b1c (diff)
downloadGradeBook-16c16a352f3054cc28cd0cf5bf2ba27155ff248f.tar.gz
GradeBook-16c16a352f3054cc28cd0cf5bf2ba27155ff248f.zip
Grade book list shown as sorted list nowv2.0.10
-rwxr-xr-xGradeBook_lib.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/GradeBook_lib.tcl b/GradeBook_lib.tcl
index ecfe6a0..d808faf 100755
--- a/GradeBook_lib.tcl
+++ b/GradeBook_lib.tcl
@@ -30,7 +30,7 @@ proc get_list_of_courses_db {} {
# obtain list of all courses DB
global GradebookServerConfig
set grades_db_dir $GradebookServerConfig(grades_db_dir)
- set db_files_list [glob -tails -d ${grades_db_dir}/ *]
+ set db_files_list [lsort [glob -tails -d ${grades_db_dir}/ *]]
return $db_files_list
}