Algorittiikipedia takornaria qimmeqarneq kingorna, kingusinnerpaasoq assorteqqissoq ilinniarneq atortunik.
[4, 5, 2, 1, 3]
Taagu kisimi sanalimmut algologiata allaffiuvoq, Bubble Sort, taama allaffiunnarliortarneqarpoq, sorlerneqarnerannik erngaarsorneqarnerata kingulliuttaq:

1. Siorneq
2. 'n' imalt. orpiliortarneq allaffiunnarliortarnermut tunngaviusut
3. 4-6 naatsorsuut 'n' ilinniartarneq
4.    'i' 0-mut sioqqullugu
5.    Kisianni 'i' 'n' - 1 eqqorlugu
6.       Kingorna 'i'-miuteqarnera kingorna 'i+1'-miuteqarnera avannamut pisinnaatitaq, sorleq kingorna 'i'-miuteqarnera kingorna 'i+1'-miuteqarnera avannamut pisinnaatitaq
7.       'i' 1-mut saqqummersorneq
8. Siorneq 

Ataatsimeersuarneq algologiata oqarnermut allaffiunnarliortarnermut: [4, 5, 2, 1, 3]

n = 5
- Naapinneq: Kingorna maluggaat eqqortarneq, swap ilinniartarneq
    - 4 5-mut eqqortarneq, swap ilinniartarneq
    - 5 2-mut eqqortarneq, swap ilinniartarneq, allaffiunnarliortarneq [4, 2, 5, 1, 3]-mut sioqqullugu
    - 5 1-mut eqqortarneq, swap ilinniartarneq, allaffiunnarliortarneq [4, 2, 1, 5, 3]-mut sioqqullugu
    - 5 3-mut eqqortarneq, swap ilinniartarneq, allaffiunnarliortarneq [4, 2, 1, 3, 5]-mut sioqqullugu
- Naapinneq, kingorna erngaarsorneqarnera eqqortarneq
- Naapinneq: Kingorna maluggaat eqqortarneq (eqqorneq naalakkersuisoq), swap ilinniartarneq
    - 4 2-mut eqqortarneq, swap ilinniartarneq, allaffiunnarliortarneq [2, 4, 1, 3, 5]-mut sioqqullugu
    - 4 1-mut eqqortarneq, swap ilinniartarneq, allaffiunnarliortarneq [2, 1, 4, 3, 5]-mut sioqqullugu
    - 4 3-mut eqqortarneq, swap ilinniartarneq, allaffiunnarliortarneq [2, 1, 3, 4, 5]-mut sioqqullugu
- Naapinneq, kingorna erngaarsorneqarnera eqqortarneq
- Naapinneq: Kingorna maluggaat eqqortarneq (eqqorneq naalakkersuisoq naalakkersuisoq), swap ilinniartarneq
    - 2 1-mut eqqortarneq, swap ilinniartarneq, allaffiunnarliortarneq [1, 2, 3, 4, 5]-mut sioqqullugu
    - Qiterneq