{"json_modified": "2015-11-11T06:22:21.527808", "slug": "Web/JavaScript/Reference/Global_Objects/Array/sort", "tags": [], "locale": "pt-BR", "title": "Array.prototype.sort()", "translations": [{"title": "Array.prototype.sort()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort", "tags": ["Array", "Prototype", "JavaScript", "Method"], "summary": "The sort()
method sorts the elements of an array in place and returns the array. The sort is not necessarily stable. The default sort order is according to string Unicode code points.", "localization_tags": [], "locale": "en-US", "last_edit": "2015-09-13T01:23:40", "review_tags": []}, {"title": "Array.prototype.sort()", "url": "/ja/docs/Web/JavaScript/Reference/Global_Objects/Array/sort", "tags": ["Array", "Array methods"], "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": []}, {"title": "Array.prototype.sort()", "url": "/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Array/sort", "tags": [], "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 \u53ef\u80fd\u4e0d\u662f\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": "2015-10-29T18:57:08", "review_tags": []}, {"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": []}, {"title": "Array.prototype.sort()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/Array/sort", "tags": ["Reference", "R\u00e9f\u00e9rence", "Array", "Prototype", "JavaScript", "Method"], "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": "2015-09-13T13:02:48", "review_tags": []}, {"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": []}, {"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": []}, {"title": "Array.prototype.sort()", "url": "/es/docs/Web/JavaScript/Referencia/Objetos_globales/Array/sort", "tags": [], "summary": "El metodo sort()
ordena los elementos de un array localmente y retorna el\u00a0 array. El ordenamiento no es necesariamente estable. El modo de ordenaci\u00f3n\u00a0por defecto responde\u00a0a la posici\u00f3n del valor del string en Unicode.", "localization_tags": ["inprogress"], "locale": "es", "last_edit": "2015-10-25T02:57:23", "review_tags": []}], "modified": "2015-11-11T06:22:19", "label": "Array.prototype.sort()", "localization_tags": [], "url": "/pt-BR/docs/Web/JavaScript/Reference/Global_Objects/Array/sort", "last_edit": "2015-11-11T06:22:15", "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.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Sintaxe", "title": "Sintaxe"}, {"id": "Par\u00e2metros", "title": "Par\u00e2metros"}, {"id": "Descri\u00e7\u00e3o", "title": "Descri\u00e7\u00e3o"}, {"id": "Exemplos", "title": "Exemplos"}, {"id": "Criando_exibindo_e_ordenando_um_array", "title": "Criando, exibindo, e ordenando um array"}, {"id": "Ordenando_caracteres_n\u00e3o-ASCII", "title": "Ordenando caracteres n\u00e3o-ASCII"}, {"id": "Ordenando_com_mapa", "title": "Ordenando com mapa"}, {"id": "Especifica\u00e7\u00f5es", "title": "Especifica\u00e7\u00f5es"}, {"id": "Compatibilidade_de_navegadores", "title": "Compatibilidade de navegadores"}, {"id": "Veja_tamb\u00e9m", "title": "Veja tamb\u00e9m"}], "id": 158129, "review_tags": ["editorial"]}