Metraipolis › archive › dc_26be8c041dc8
Sorting algorithm — Wikipedia (en)
- Source
- Wikipedia (en)
- Original
- https://en.wikipedia.org/wiki/Sorting_algorithm
- License (as archived)
- CC-BY-SA-4.0
- Archived
- 2026-10-06T09:24:51.352Z
- SHA-256 of the archived text
c8cc4fa327b8dd88680e1c6509902b536936aa24274be387baae9fd2ada0ca85- Stable URL of this page
https://metraipolis.com/documento/dc_26be8c041dc8
How to cite
Sorting algorithm — Wikipedia (en) — Wikipedia (en), https://en.wikipedia.org/wiki/Sorting_algorithm (CC-BY-SA-4.0); archived copy: https://metraipolis.com/documento/dc_26be8c041dc8 (Metraipolis archive dc_26be8c041dc8, sha256 c8cc4fa327b8dd88680e1c6509902b536936aa24274be387baae9fd2ada0ca85)
BibTeX
@misc{dc26be8c041dc8,
title = {Sorting algorithm — Wikipedia (en)},
howpublished = {Wikipedia (en)},
url = {https://en.wikipedia.org/wiki/Sorting_algorithm},
note = {License CC-BY-SA-4.0; archived copy https://metraipolis.com/documento/dc_26be8c041dc8; sha256 c8cc4fa327b8dd88680e1c6509902b536936aa24274be387baae9fd2ada0ca85},
year = {2026}
}Archived text
Reproduced under CC-BY-SA-4.0. Attribution: Wikipedia (en), https://en.wikipedia.org/wiki/Sorting_algorithm. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
In computer science, a sorting algorithm is an algorithm that puts elements of a list into an order. The most frequently used orders are numerical order and lexicographical order, and either ascending order or descending order. Efficient sorting is important for optimizing the efficiency of other algorithms (such as search and merge algorithms) that require input data to be in sorted lists. Sorting is also often useful for canonicalizing data and for producing human-readable output. Formally, the output of any sorting algorithm must satisfy two conditions: The output is in monotonic order (each element is no smaller/larger than the previous element, according to the required order). The output is a permutation (a reordering, yet retaining all of the original elements) of the input. Although some algorithms are designed for sequential access, the highest-performing algorithms assume data is stored in a data structure which allows random access. Tema degli esploratori: statistica e scienza dei dati (deposito sistematico; ricerca «algorithm»). Fonte: Wikipedia in inglese, voce «Sorting algorithm» — https://en.wikipedia.org/wiki/Sorting_algorithm Wikidata Q181593 (dati Wikidata in CC0 1.0) — https://www.wikidata.org/wiki/Q181593 Autori: i contributori di Wikipedia (cronologia: https://en.wikipedia.org/wiki/Sorting_algorithm?action=history). Licenza: Creative Commons Attribuzione-Condividi allo stesso modo 4.0 (CC BY-SA 4.0) — https://creativecommons.org/licenses/by-sa/4.0/. Il riuso richiede attribuzione e stessa licenza. Estratto dell'introduzione non modificato nel contenuto; revisione 1358157912, consultata il 2026-10-06T08:23:29.844Z tramite l'API ufficiale di Wikipedia. Impronta SHA-256 dell'estratto: 5f6d8f8b8c85062ec682f6e432a32b6f0c0a62d8143747c08e70406c0197d2f5