[fpc-devel] Sorting tests

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Nov 29 23:58:07 CET 2022


On Tue, 29 Nov 2022 15:54:03 +0100
Benito van der Zander via fpc-devel <fpc-devel at lists.freepascal.org>
wrote:

> Hi,
> and the FPC implementation is actually documented to not be stable in 
>[...]
> and one can see that it is indeed not stable, if you sort
> ['a','b','A'] case-insensitively, it becomes ['A', 'a','b']

If the current QuickSort is not stable, is there an another argument
for keeping it as default?


Mattias


More information about the fpc-devel mailing list