From 87ca08296ea7e735bfa3ee955be32b8bc3537f1c Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Sat, 16 May 2015 16:52:07 -0400 Subject: Sort the output of fs.find_files_as_array to make results consistent --- fs.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs.lua b/fs.lua index e605fa2..364e9fc 100644 --- a/fs.lua +++ b/fs.lua @@ -199,6 +199,8 @@ function mymodule.find_files_as_array ( what, where, follow, t ) table.insert (t, where ) end + table.sort(t) + return (t) end -- cgit v1.2.3