66
30
77
81
38
80
98
82
50
34
21
23
j
i
Initialize two pointers "let i = 0" and "let j = i+1".
Do next step
New array
Selection Sort
Bubble Sort
Insertion Sort