結果 : write an algorithm to sort an array in ascending order