BubbleSort ( inputValues ; iterations )
Sorts a list of return-separated values.
Average rating: 3.8 (38 votes) Log in to vote
Greg Lane The Moyer Group http://www.moyergroup.com |
plum
apple
grape" ; 4 )
grape
orange
plum
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
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.
Comments
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.