From 9e8d278bc2fc2605cf067ee5ffdd41bea66f4271 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Mon, 2 Nov 2009 16:18:50 +0000 Subject: Sort the jobs alphabetically. --- cron-model.lua | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3