stable-sort of string

Daniel Gildea via <[email protected]> Sun, 16 Nov 2025 12:23:10 -0500
Newsgroups gmane.lisp.gcl.devel
Message-ID <[email protected]>
stable-sort does not seem to be stable.


GCL (GNU Common Lisp)  2.7.1 Thu Apr 10 09:38:27 PM EDT 2025  ANSI    git: Version_2_7_2pre7
Source License: LGPL(gcl,gmp), GPL(unexec,bfd,xgcl)
Binary License:  GPL due to GPL'ed components: (XGCL READLINE UNEXEC)
Modifications of this banner must retain notice of a compatible license
Dedicated to the memory of W. Schelter

Use (help) to get some basic information on how to use GCL.
Temporary directory for compiler files set to /tmp/

>(stable-sort "A1A2A3A4A5A6a1a2a3a4a5a6" #'char-lessp)

"112233445566aaaAaAAAaaAA"