{"json_modified": "2016-10-01T16:56:53.748447", "uuid": "87f0c23b-0d1a-411f-9b12-6ff2e300f316", "title": "Array.prototype.sort()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort", "tags": ["Array", "Prototype", "Method", "JavaScript"], "translations": [{"uuid": "4e3481c9-8aef-4185-a0f9-d31a394f2862", "title": "Array.prototype.sort()", "url": "/es/docs/Web/JavaScript/Referencia/Objetos_globales/Array/sort", "tags": [], "summary": "El m\u00e9todo sort()
ordena los elementos de un array localmente y retorna el\u00a0array. El ordenamiento no es necesariamente estable. El modo de ordenaci\u00f3n\u00a0por defecto responde\u00a0a la posici\u00f3n del valor del string\u00a0de acuerdo a su\u00a0valor\u00a0Unicode.", "localization_tags": ["inprogress"], "locale": "es", "last_edit": "2016-06-11T09:19:43", "review_tags": ["editorial"]}, {"uuid": "710d9d8c-22b0-4b9d-bd16-8e0bf782206c", "title": "Array.prototype.sort()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/Array/sort", "tags": ["M\u00e9thode", "R\u00e9f\u00e9rence", "Array", "Prototype", "JavaScript"], "summary": "La m\u00e9thode sort()
trie les \u00e9l\u00e9ments d'un tableau, dans ce m\u00eame tableau, et renvoie le tableau. Le tri n'est pas forc\u00e9ment stable. Le tri s'effectue par d\u00e9faut selon les points de code Unicode de la chaine de caract\u00e8res.", "localization_tags": [], "locale": "fr", "last_edit": "2016-09-26T03:49:28", "review_tags": []}, {"uuid": "c5b46f90-1256-4e54-aa0a-0d8f620283bf", "title": "Array.prototype.sort()", "url": "/ja/docs/Web/JavaScript/Reference/Global_Objects/Array/sort", "tags": ["Array"], "summary": "\u914d\u5217\u306e\u8981\u7d20\u3092\u30bd\u30fc\u30c8\u3057\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2015-04-12T11:48:45", "review_tags": []}, {"uuid": "bf8d28ea-1a1e-4063-8e7f-b4369e23f4f9", "title": "Array.prototype.sort()", "url": "/pl/docs/Web/JavaScript/Referencje/Obiekty/Array/sort", "tags": ["Dokumentacja_JavaScript", "JavaScript", "Dokumentacje", "Strony_wymagaj\u0105ce_dopracowania", "Wszystkie_kategorie"], "summary": "Sortuje elementy tablicy.", "localization_tags": [], "locale": "pl", "last_edit": "2015-06-02T02:58:08", "review_tags": []}, {"uuid": "21bf075a-1c0d-4f71-9dbe-ca99b0337a41", "title": "Array.prototype.sort()", "url": "/pt-BR/docs/Web/JavaScript/Reference/Global_Objects/Array/sort", "tags": [], "summary": "O m\u00e9todo sort()
ordena os elementos do pr\u00f3prio array e retorna o array. A ordena\u00e7\u00e3o n\u00e3o \u00e9 necessariamente est\u00e1vel. A ordena\u00e7\u00e3o padr\u00e3o \u00e9 de acordo com a\u00a0 pontua\u00e7\u00e3o de c\u00f3digo unicode.", "localization_tags": [], "locale": "pt-BR", "last_edit": "2015-11-11T06:22:15", "review_tags": ["editorial"]}, {"uuid": "4703471c-ae91-4da1-b7e3-fccb8bc2154e", "title": "Array.prototype.sort()", "url": "/ru/docs/Web/JavaScript/Reference/Global_Objects/Array/sort", "tags": ["Array", "Prototype", "Method", "JavaScript"], "summary": "\u041c\u0435\u0442\u043e\u0434 sort()
\u043d\u0430 \u043c\u0435\u0441\u0442\u0435 \u0441\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u0442 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u0438 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043e\u0442\u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043c\u0430\u0441\u0441\u0438\u0432. \u0421\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0430 \u043d\u0435 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u0430 (\u0430\u043d\u0433\u043b.). \u041f\u043e\u0440\u044f\u0434\u043e\u043a c\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0438 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043f\u043e\u0440\u044f\u0434\u043a\u0443 \u043a\u043e\u0434\u043e\u0432\u044b\u0445 \u0442\u043e\u0447\u0435\u043a Unicode.", "localization_tags": [], "locale": "ru", "last_edit": "2015-03-08T08:13:07", "review_tags": []}, {"uuid": "6a65ad13-9b8e-4a29-9227-08315c64a99e", "title": "Array.prototype.sort()", "url": "/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Array/sort", "tags": ["\u6570\u7ec4", "Array", "Prototype", "\u65b9\u6cd5", "JavaScript", "\u539f\u578b"], "summary": "sort()
\u65b9\u6cd5\u5bf9\u6570\u7ec4\u7684\u5143\u7d20\u505a\u539f\u5730\u7684\u6392\u5e8f\uff0c\u5e76\u8fd4\u56de\u8fd9\u4e2a\u6570\u7ec4\u3002 sort \u6392\u5e8f\u53ef\u80fd\u662f\u4e0d\u7a33\u5b9a\u7684\u3002\u9ed8\u8ba4\u6309\u7167\u5b57\u7b26\u4e32\u7684Unicode\u7801\u4f4d\u70b9\uff08code point\uff09\u6392\u5e8f\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2016-09-21T17:35:06", "review_tags": []}, {"uuid": "0d4fd849-8fdf-4263-b18d-6d019ef954a3", "title": "Array.prototype.sort()", "url": "/zh-TW/docs/Web/JavaScript/Reference/Global_Objects/Array/sort", "tags": [], "summary": "sort()
\u00a0\u65b9\u6cd5\u5c07\u9663\u5217\u4e2d\u7684\u5143\u7d20\u6392\u5217\u81f3\u5176\u61c9\u7576\u7684\u4f4d\u7f6e\u4e0a\u4e26\u8fd4\u56de\u6b64\u9663\u5217\u3002\u6392\u5217\u4e0d\u5fc5\u662f\u7a69\u5b9a\u7684\u3002\u9810\u8a2d\u7684\u6392\u5217\u9806\u5e8f\u6839\u64daUnicode\u5b57\u4e32\u78bc\u4f4d\u4f86\u6392\u5e8f\u3002", "localization_tags": [], "locale": "zh-TW", "last_edit": "2014-11-23T06:18:10", "review_tags": []}], "modified": "2016-09-24T08:47:37", "label": "Array.prototype.sort()", "localization_tags": [], "locale": "en-US", "id": 16, "last_edit": "2016-09-24T08:47:36", "summary": "Technical review completed. Editorial review completed.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Return_value", "title": "Return value"}, {"id": "Description", "title": "Description"}, {"id": "Examples", "title": "Examples"}, {"id": "Creating_displaying_and_sorting_an_array", "title": "Creating, displaying, and sorting an array"}, {"id": "Sorting_non-ASCII_characters", "title": "Sorting non-ASCII characters"}, {"id": "Sorting_with_map", "title": "Sorting with map"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/JavaScript/Reference/Global_Objects/Array/sort", "review_tags": []}