insertion sort

sorting algorithm that, at each iteration, inserts the current input element into the suitable position between the already sorted elements
Intangible Sorting Algorithm Q117241
insertion sort
crashmatrix. · Public Domain · Wikimedia

Facts

8 properties
Average time complexity
O(n^2)
Best-case time complexity
O(n)
Derivative work
Timsort[9]
Name in kana
インサーションソート[6]
Worst-case space complexity
O(1)
Worst-case time complexity
O(n^2)
🏷️ Also known as
en insertion sort ar ترتيب بالإدراج da Indsættelsessortering de Insertionsort el Ταξινόμηση με εισαγωγή es ordenamiento por inserción es Ordenamiento por insercion fa مرتب‌سازی درجی fa مرتب سازی درجی fi Lisäyslajittelu fr tri par insertion he מיון הכנסה hi प्रविष्टि सॉर्ट hu Beszúrásos rendezés ja インサーションソート ja 挿入ソート ko 삽입 정렬 pl sortowanie przez wstawianie ru сортировка вставками sv Insättningssortering
🔖 Identifiers · 11
Brilliant Wiki ID
insertion
Dictionary of Algorithms and Data Structures ID
insertionSort
Encyclopedia of China (Third Edition) ID (2026)
jLJMh
Encyclopedia of China (Third Edition) old ID (2021)
95366
Freebase ID
/m/03xsl
Microsoft Academic ID (discontinued)
71317734
PlanetMath ID
InsertionSort
Quora topic ID
Insertion-Sort
Stack Exchange tag
stackoverflow.com

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

🔗 Connections
Instance of 6
Derivative work 1
Uses 1
← Based on 1
← FactGrid item ID 1
Press Enter · cited answer in seconds

📑 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). insertion sort. Retrieved November 20, 2026, from https://4ort.xyz/entity/insertion-sort
MLA “insertion sort.” 4ort.xyz Knowledge Graph, 4ort.xyz, 20 Nov. 2026, https://4ort.xyz/entity/insertion-sort.
BibTeX @misc{4ortxyz_insertion-sort_2026, author = {{4ort.xyz Knowledge Graph}}, title = {{insertion sort}}, year = {2026}, url = {https://4ort.xyz/entity/insertion-sort}, note = {Accessed: 2026-11-20}}
LLM prompt According to 4ort.xyz Knowledge Graph (aggregator of Wikidata, Wikipedia, and authoritative open-data sources): insertion sort — https://4ort.xyz/entity/insertion-sort (retrieved 2026-11-20)

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

Edit History

Rolling log of changes to this entity's Wikidata record. Values shown reflect the current state of each edited property — follow the history link to see the precise diff for any edit.

  1. 19w ago · Nyuhn · 2026-07-10 view diff on Wikidata ↗
    Worst-case time complexity → O(n^2)
    Encyclopedia of China (Third Edition) ID (2026) → jLJMh
    "Changed the item: QuickStatements 3.0 batch #40849: ZGBK ID"
  2. 24w ago · ~2026-32726-56 · 2026-06-02 view diff on Wikidata ↗
    Uses → array data structure, insert
    Worst-case time complexity → O(n^2)
    Derivative work → Timsort
    Instance of → sorting algorithm, stable sorting algorithm, comparison sort +1
    "Changed claim: Worst-case time complexity: O(n^2)n"
Live feed via Wikidata EventStreams. New edits appear within minutes of being made on Wikidata.