Ch 5 - sorted/ing arrays
While going through chapter 5, I'm seeing something that isn't making too much sense, or at least isn't explained.
The frist 4 "Try it Out" sections work the way i would think. The 5th "Sorting Arrays" works correctly, but when you are still debugging and you click on one of the frist four, the array is still sorted.
so when you click the "reversing an array" button after sorting it, its a revers of the sort, not of the array as entered.
as if the "ClearList" doesn't really clear the array list. you have to stop and restart in order to reverse sort correctly.
(confused yet?)
Is it once sorted, always sorted?
|