From: Junio C Hamano Date: Thu, 14 Jul 2022 16:28:11 GMT Subject: Re: [PATCH] shortlog: use a stable sort Message-ID: In-Reply-To: "Johannes Schindelin via GitGitGadget" writes: > When sorting the output of `git shortlog` by count, a list of authors in > alphabetical order is then sorted by contribution count. Obviously, the > idea is to maintain the alphabetical order for items with identical > contribution count. > ... > if (log->sort_by_number) > - QSORT(log->list.items, log->list.nr, > + STABLE_QSORT(log->list.items, log->list.nr, Makes perfect sense. Will queue. Thanks.