Algoritma Insertion Sort

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