From 42dc7642e442c383eeee059fe602d3a74f3cdb4f Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Wed, 26 Aug 2009 08:23:46 +0000 Subject: Sort the advanced files, bumped to 0.3.1 --- Makefile | 2 +- dansguardian-model.lua | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7935a14..6024d08 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ APP_NAME=dansguardian PACKAGE=acf-$(APP_NAME) -VERSION=0.3.0 +VERSION=0.3.1 APP_DIST=\ dansguardian* \ diff --git a/dansguardian-model.lua b/dansguardian-model.lua index 8ddf3a6..bc50275 100644 --- a/dansguardian-model.lua +++ b/dansguardian-model.lua @@ -152,6 +152,7 @@ list_files = function() table.insert(retval, details) end end + table.sort(retval, function(a,b) return (a.filename < b.filename) end) return cfe({ type="structure", value=retval, label="List of Dansguardian files" }) end -- cgit v1.2.3