aboutsummaryrefslogtreecommitdiff
path: root/GradeBook_lib.tcl
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2024-03-18 10:43:50 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2024-03-18 10:43:50 -0400
commit7f80c0302aa0fdb273eafc15127ae560aef10dc2 (patch)
tree4b9eda48f9ec1094c0eac3d5aac1aff449b6fd52 /GradeBook_lib.tcl
parent42c0f57ed3163ed4284732b4cdce4393dfc1822b (diff)
downloadGradeBook-7f80c0302aa0fdb273eafc15127ae560aef10dc2.tar.gz
GradeBook-7f80c0302aa0fdb273eafc15127ae560aef10dc2.zip
class index sorted from most recent years to less recent
Diffstat (limited to 'GradeBook_lib.tcl')
-rwxr-xr-xGradeBook_lib.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/GradeBook_lib.tcl b/GradeBook_lib.tcl
index 914370f..0d48ed0 100755
--- a/GradeBook_lib.tcl
+++ b/GradeBook_lib.tcl
@@ -40,7 +40,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 [lsort [glob -tails -d ${grades_db_dir}/ *]]
+ set db_files_list [lsort -decreasing [glob -tails -d ${grades_db_dir}/ *]]
return $db_files_list
}