Algoritma Insertion Sort

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