From cd29cd244eaa3fa2d14e4c1ae8892fc71da1693c Mon Sep 17 00:00:00 2001 From: Ansgar Becker Date: Mon, 10 Aug 2020 21:23:37 +0200 Subject: [PATCH] Sort session path + names alphabetically, in menus with no header sort logic. Closes #1119 --- source/apphelpers.pas | 1 + 1 file changed, 1 insertion(+) diff --git a/source/apphelpers.pas b/source/apphelpers.pas index 4f3390cf..b00b6a6b 100644 --- a/source/apphelpers.pas +++ b/source/apphelpers.pas @@ -4143,6 +4143,7 @@ begin Sessions.Add(ParentPath+Names[i]); for i:=0 to Folders.Count-1 do GetSessionPaths(ParentPath+Folders[i]+'\', Sessions); + Sessions.Sort; Names.Free; Folders.Free; end;