The discovery, acceptance & management of life's gaps

Tagged: bubble sort

As there is no built-in sort function in AppleScript you have to create your own. A common way of sorting lists is to use the repeat function… cycling through the list comparing items as you progress. ¬†One of the more efficient approaches is a bubble sort. You can find an excellent example in Lesson 18, [...]

4 comments  » Read the rest