Sort stability: Difference between revisions

(→‎{{header|Ruby}}: Rewrite Array#stable_sort and move it outside the <!-- comment -->. Also implement Array#stable_sort_by.)
Line 262:
 
=={{header|MATLAB}}==
MathWorks' policy seems to be that their built-in sorting algorithm will always be a stable sort across all versions ([http://www.mathworks.com/company/newsletters/news_notes/dec04/adventure.html reference]). To check to see if your version of MATLAB provides a stable sort type "sort" into the command line. Then highlight the text and right-click it and select "Open Selection" in the pop-up menu. This will open the source code for the sort function,check the commentsoutput of whichcommand should tell you if the"help sort algorithm they use is stable".
 
=={{header|NetRexx}}==
Anonymous user