BubbleSort ( "orange
plum
apple
grape" ; 4 )
Sample Output:
apple
grape
orange
plum
Description:
BubbleSort takes a return-separated list of values and returns a sorted list. The iterations value should be initially set to the value of ValueCount ( inputValues ).
The bubble sort algorithm is simple to implement but it becomes fairly slow as the number of values increases.
Note: The BubbleSort function requires the BubbleSort_SlideValue function.
Note: these functions are not guaranteed
or supported by BrianDunning.com. Please contact the individual
developer with any questions or problems.
The premiere class for Lasso 8 and Lasso Studio with FileMaker Server 7 Advanced, coming soon to a city near you. Click
here.
Custom Function Authors:
Link to all of your own custom functions on this site with the following URL:
http://www.briandunning.com/filemaker-custom-functions/results.php?author=Your
Name Here