Skip to content

Author Sort Secondary Sort is Wrong #20

Description

@branthom

This is a repeat of bug #42323 submitted in 2014.

When sorting by author (<AUTHSORT>), the secondary sort key (date) is incorrect (random dates).

--- mhutil-dist.pl	2020-11-16 09:17:01
+++ mhutil.pl	2023-08-05 23:52:48
@@ -282,7 +282,7 @@
         } else {
             return sort {
                        ($from{$a} cmp $from{$b})
-                    || ($Time{$a} <=> $Time{$a})
+                    || ($Time{$a} <=> $Time{$b})
             } keys %Subject;
         }

mhtuil.pl.patch

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions