Compare Revisions

Array.prototype.sort()

Revision 375491:

Revision 375491 by madarche on

Revision 411503:

Revision 411503 by Granjow on

Title:
Array.sort
Array.sort
Slug:
JavaScript/Reference/Global_Objects/Array/sort
JavaScript/Reference/Global_Objects/Array/sort
Tags:
"Array","Array methods"
"Array","Array methods"
Content:

Revision 375491
Revision 411503
n70      <li>If <code>compareFunction(a, b)</code> is less than 0, sn70      <li>If <code>compareFunction(a, b)</code> is less than 0, s
>ort <code>a</code> to a lower index than <code>b</code>.>ort <code>a</code> to a lower index than <code>b</code>, i.e. b c
 >omes first.
n146    <h2>n146    <h2 id="Examples">
t237    <h2>t237    <h2 id="Old_implementations_details">

Back to History