Sort stability: Difference between revisions

→‎{{header|TXR}}: New section.
m (added whitespace before the TOC (table of contents), added other whitespace to the task's preamble.)
(→‎{{header|TXR}}: New section.)
Line 1,004:
=={{header|Tcl}}==
Tcl's built-in [http://www.tcl.tk/man/tcl8.4/TclCmd/lsort.htm <code>lsort</code>] command implements a stable sort. It has been guaranteed to be stable since Tcl 8.0. Internally, it uses the mergesort algorithm.
 
=={{header|TXR}}==
 
Straight from the TXR documentation about the <code>sort</code> function:
 
<i>The <code>sort</code> function is stable for sequences which are lists. This means that the original order of items which are considered identical is preserved. For strings and vectors, <code>sort</code> is not stable.</i>
 
=={{header|zkl}}==
543

edits