Zack Alhashim wrote:
Thanks for answering, however the main idea is to move down through the array comparing adjacent pairs and swapping the values if they are out of order. can you do it this way?
Would you like to know how does the built-in function sort work?