{"json_modified": "2014-05-10T09:29:56.167882", "slug": "JavaScript/Reference/Objets_globaux/Array/sort", "tags": ["Reference", "R\u00e9f\u00e9rence", "Array", "prototype", "JavaScript", "Method"], "locale": "fr", "title": "Array.prototype.sort()", "translations": [{"locale": "en-US", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort", "last_edit": "2014-03-27T15:27:57", "title": "Array.prototype.sort()"}, {"locale": "ja", "url": "/ja/docs/Web/JavaScript/Reference/Global_Objects/Array/sort", "last_edit": "2013-05-28T13:00:41", "title": "Array.sort"}, {"locale": "zh-CN", "url": "/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Array/sort", "last_edit": "2014-05-09T21:14:49", "title": "Array.prototype.sort()"}, {"locale": "pl", "url": "/pl/docs/Dokumentacja_j%C4%99zyka_JavaScript_1.5/Obiekty/Array/sort", "last_edit": "2007-08-05T17:02:17", "title": "sort"}], "modified": "2014-05-10T09:29:55", "label": "Array.prototype.sort()", "url": "/fr/docs/JavaScript/Reference/Objets_globaux/Array/sort", "last_edit": "2014-05-10T09:29:53", "summary": "La m\u00e9thode <strong><code>sort()</code></strong> trie les \u00e9l\u00e9ments d'un tableau, en place, et renvoie le tableau. Le tri n'est pas forc\u00e9ment <a href=\"https://fr.wikipedia.org/wiki/Algorithme_de_tri#Caract.C3.A8re_stable\">stable</a>. Le tri s'effectue par d\u00e9faut selon les points de code Unicode de la chaine de caract\u00e8res.", "sections": [{"id": "Quick_Links", "title": "Standard built-in objects Array H\u00e9rite de : Function Object"}, {"id": "R.C3.A9sum.C3.A9", "title": "R\u00e9sum\u00e9"}, {"id": "Syntaxe", "title": "Syntaxe"}, {"id": "Param.C3.A8tres", "title": "Param\u00e8tres"}, {"id": "Description", "title": "Description"}, {"id": "Diff.C3.A9rences_d'impl.C3.A9mentation", "title": "Diff\u00e9rences d'impl\u00e9mentation"}, {"id": "Exemples", "title": "Exemples"}, {"id": "Exemple_:_cr.C3.A9ation.2C_affichage_et_tri_d.27un_tableau", "title": "Cr\u00e9ation, affichage et tri d'un tableau"}, {"id": "Trier_des_caract.C3.A8res_non-ASCII", "title": "Trier des caract\u00e8res non-ASCII"}, {"id": "Sp.C3.A9cifications", "title": "Sp\u00e9cifications"}, {"id": "Compatibilit.C3.A9_des_navigateurs", "title": "Compatibilit\u00e9 des navigateurs"}, {"id": "Voir_aussi", "title": "Voir \u00e9galement"}], "id": 38102, "review_tags": []}