odd–even sort

sorting algorithm that repeatedly compares all odd/even indexed pairs of adjacent elements in the list, swapping misordered pairs
Intangible Sorting Algorithm Q578580

Facts

8 properties
Best-case time complexity
O(n)[7]
Discoverer or inventor
Nico Habermann[2]
Time of discovery or invention
1972[4]
Worst-case space complexity
O(1)[8]
Worst-case time complexity
O(n^2)[6]
🏷️ Also known as
en brick sort en odd–even sort en odd–even transposition sort en parity sort ar فرز فردي وزوجي es Ordenacion impar-par es Ordenación impar-par fa مرتب‌سازی زوج و فرد fr tri pair-impair par transposition fr tri pair-impair hi विषम-सम क्रमबद्ध it Odd-even sort ja 奇偶転置ソート ko 홀짝 정렬 ru сортировка чёт-нечет ru чётно-нечётная сортировка th การเรียงลำดับคี่–คู่ uk odd-even sort zh 奇偶排序
🔖 Identifiers · 3
Image (Wikimedia Commons)
Odd even sort animation.gif ↗
Freebase ID
/m/02qqms1
Microsoft Academic ID (discontinued)
136122759

Report an error or request removal Lineage (PROV-JSON)

🔗 Connections
Discoverer or inventor 1
Has use 1
Instance of 1
Uses 1
← FactGrid item ID 1
Press Enter · cited answer in seconds

Summary

odd–even sort is a sorting algorithm[1].

📑 Cite this page

Use these citations when quoting this entity in research, articles, AI prompts, or wherever provenance matters. We aggregate Wikidata + Wikipedia + authoritative open-data sources; the stitched, scored, cross-referenced view is what 4ort.xyz contributes.

APA 4ort.xyz Knowledge Graph. (2026). odd–even sort. Retrieved November 16, 2026, from https://4ort.xyz/entity/odd-even-sort
MLA “odd–even sort.” 4ort.xyz Knowledge Graph, 4ort.xyz, 16 Nov. 2026, https://4ort.xyz/entity/odd-even-sort.
BibTeX @misc{4ortxyz_odd-even-sort_2026, author = {{4ort.xyz Knowledge Graph}}, title = {{odd–even sort}}, year = {2026}, url = {https://4ort.xyz/entity/odd-even-sort}, note = {Accessed: 2026-11-16}}
LLM prompt According to 4ort.xyz Knowledge Graph (aggregator of Wikidata, Wikipedia, and authoritative open-data sources): odd–even sort — https://4ort.xyz/entity/odd-even-sort (retrieved 2026-11-16)

Canonical URL: https://4ort.xyz/entity/odd-even-sort · Last refreshed: