diff options
author | Ted Trask <ttrask01@yahoo.com> | 2009-11-02 16:18:50 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2009-11-02 16:18:50 +0000 |
commit | 9e8d278bc2fc2605cf067ee5ffdd41bea66f4271 (patch) | |
tree | e9a53cfb49b057f95d124a42146e0afa03ead065 | |
parent | 9b5d1d763c48a75a5ea5e0b560141164598c8cf3 (diff) | |
download | acf-alpine-baselayout-9e8d278bc2fc2605cf067ee5ffdd41bea66f4271.tar.bz2 acf-alpine-baselayout-9e8d278bc2fc2605cf067ee5ffdd41bea66f4271.tar.xz |
Sort the jobs alphabetically.
-rw-r--r-- | cron-model.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cron-model.lua b/cron-model.lua index 46f4b16..525087a 100644 --- a/cron-model.lua +++ b/cron-model.lua @@ -43,8 +43,10 @@ local function list_jobs() table.insert(temp.jobs, file) table.insert(alljobs, file) end + table.sort(temp.jobs) jobs[#jobs+1] = temp end + table.sort(alljobs) return jobs, alljobs end |