diff options
author | Ted Trask <ttrask01@yahoo.com> | 2015-05-16 16:52:07 -0400 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2015-05-16 16:52:07 -0400 |
commit | 87ca08296ea7e735bfa3ee955be32b8bc3537f1c (patch) | |
tree | 2efcb6b79929ffa794368be853d668640c6a7798 | |
parent | 2273114504873ef43b5d150b82a71909b9831fca (diff) | |
download | acf-lib-87ca08296ea7e735bfa3ee955be32b8bc3537f1c.tar.bz2 acf-lib-87ca08296ea7e735bfa3ee955be32b8bc3537f1c.tar.xz |
Sort the output of fs.find_files_as_array to make results consistent
-rw-r--r-- | fs.lua | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |