aboutsummaryrefslogtreecommitdiff
path: root/abrechenbarkeit.lua
diff options
context:
space:
mode:
Diffstat (limited to 'abrechenbarkeit.lua')
-rwxr-xr-xabrechenbarkeit.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/abrechenbarkeit.lua b/abrechenbarkeit.lua
index c209415..e683759 100755
--- a/abrechenbarkeit.lua
+++ b/abrechenbarkeit.lua
@@ -324,7 +324,7 @@ local function get_active_users()
table.insert(users, user)
end
- table.sort(users, function(a, b) return a.time > b.time end)
+ table.sort(users, function(a, b) return ((a.time == b.time) and a.name > b.name) or (a.time > b.time) end)
return users
end