diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2024-03-18 10:43:50 -0400 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2024-03-18 10:43:50 -0400 |
commit | 7f80c0302aa0fdb273eafc15127ae560aef10dc2 (patch) | |
tree | 4b9eda48f9ec1094c0eac3d5aac1aff449b6fd52 | |
parent | 42c0f57ed3163ed4284732b4cdce4393dfc1822b (diff) | |
download | GradeBook-7f80c0302aa0fdb273eafc15127ae560aef10dc2.tar.gz GradeBook-7f80c0302aa0fdb273eafc15127ae560aef10dc2.zip |
class index sorted from most recent years to less recent
-rwxr-xr-x | GradeBook_lib.tcl | 2 |
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 } |