cl.exe
Sequence array is: 3 4 2 0 1 5 Original array is: 3 2 1 5 6 4 Reordered array is: 5 6 1 3 2 4