Sort stability: Difference between revisions

Content added Content deleted
(→‎{{header|Oz}}: Added example)
m (→‎{{header|Python}}: formatting of link)
Line 94: Line 94:


=={{header|Python}}==
=={{header|Python}}==
Python's in-built [http://docs.python.org/library/functions.html#sorted sorted] function as well as the [http://docs.python.org/library/stdtypes.html#mutable-sequence-types sort method of lists] are guaranteed stable (since version 2.3). (For even more information on the underlying routine, see [[http://svn.python.org/projects/python/trunk/Objects/listsort.txt this]]).
Python's in-built [http://docs.python.org/library/functions.html#sorted sorted] function as well as the [http://docs.python.org/library/stdtypes.html#mutable-sequence-types sort method of lists] are guaranteed stable (since version 2.3). (For even more information on the underlying routine, see [http://svn.python.org/projects/python/trunk/Objects/listsort.txt this]).


=={{header|Ruby}}==
=={{header|Ruby}}==