Sort stability: Difference between revisions

Content added Content deleted
(→‎{{header|Python}}: add wp link)
Line 408: Line 408:


=={{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, [[wp:timsort]], see [http://svn.python.org/projects/python/trunk/Objects/listsort.txt this]).


=={{header|R}}==
=={{header|R}}==