From a70c228bc4f42ce17640e2e1fa7d3a8e22b76f10 Mon Sep 17 00:00:00 2001 From: Macintosh II <95250141+mctaylors@users.noreply.github.com> Date: Fri, 6 Oct 2023 16:12:36 +0300 Subject: [PATCH] Change reminders sorting in /listremind (#156) Signed-off-by: Macintosh II --- src/Commands/RemindCommandGroup.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Commands/RemindCommandGroup.cs b/src/Commands/RemindCommandGroup.cs index b6bb235..ab576f0 100644 --- a/src/Commands/RemindCommandGroup.cs +++ b/src/Commands/RemindCommandGroup.cs @@ -85,7 +85,7 @@ public class RemindCommandGroup : CommandGroup } var builder = new StringBuilder(); - for (var i = data.Reminders.Count - 1; i >= 0; i--) + for (var i = 0; i < data.Reminders.Count; i++) { var reminder = data.Reminders[i]; builder.Append("- ").AppendLine(string.Format(Messages.ReminderIndex, Markdown.InlineCode(i.ToString())))