Is keysort/2 stable?

Boris Vassilev <[email protected]>
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <CAFw8osJij0v2RTmnhFOrYAR5iBcaem2YPyuaiUmVWXJ5zcQ7LQ@mail.gmail.com>
Hello,

a short question: is keysort/2 stable? In other words, is there a guarantee
that elements with equal keys in the input list of pairs will have the same
order in the output list? This information might be somewhere in the manual
already but I could not find it.

Thank you all,
Boris
-------------- next part --------------
HTML attachment scrubbed and removed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.