Algoritma Insertion Sort

Angka Sebelum Ditukar 1, 6, 15, 6, 16, 2, 10 Keterangan
Proses 1 1, 6, 15, 6, 16, 2, 10 proses angka 1
Proses 2 1, 6, 15, 6, 16, 2, 10 proses angka 6
Proses 3 1, 6, 15, 6, 16, 2, 10 proses angka 15
Proses 4 1, 6, 6, 15, 16, 2, 10 proses angka 6
Proses 5 1, 6, 6, 15, 16, 2, 10 proses angka 16
Proses 6 1, 2, 6, 6, 15, 16, 10 proses angka 2
Proses 7 1, 2, 6, 6, 10, 15, 16 proses angka 10
Note : angka yg dicoba akan berubah setiap Anda melakukan refresh halaman