Dizi: [7, 5, 1, 8, 3, 6, 0, 9, 4, 2]
-
Root 7'dir.
-
5, 7'den küçük, soluna eklenir.
-
1, 7'den ve 5'ten küçük, 5'in soluna eklenir.
-
8, 7'den büyük, sağına eklenir.
-
3, 7'den ve 5'ten küçük, 1'den büyük, 1'in sağına eklenir.
-
6, 7'den küçük, 5'ten büyük, 5'in sağına eklenir.
-
0, hepsinden küçük, 1'in soluna eklenir.
-
9, 7 ve 8'den büyük, 8'in sağına eklenir.
-
4, 7 ve 5'ten küçük, 1 ve 3'ten büyük, 3'ün sağına eklenir.
-
2, 7 ve 5'ten küçük, 1'den büyük, 3'ten küçük, 3'ün soluna eklenir.