Start Sorting with Bubblesort Algorithm
Last updated Mon Aug 22 2022
Begin your Bubblesort journey, which includes:
- A simple process to set Dynamic Document Properties, used to sort documents
- Custom Groovy 1.5 scripting to sort by a single value
The Bubblesort algorithm is helpful to sort documents based on a single index by comparing adjacent documents.
This example process can be used to loop through documents and store the sort-by-values and document indices in the keyArray and valueArray.
This recipe includes a simple sorting process that allows you to sort with a specific value through Groovy 1.5 scripting.
The Bubblesort process is useful to detect whether a list is in order efficiently, and to reorder accordingly to create complete and organized data sets.
The recipe qualifies for Boomi’s Recipe Program.
Qualifying customers get access to Boomi’s Recipe Program* with the purchase of a Boomi subscription. As part of the Recipe Program you have direct access to a Boomi specialist to get you up and running with Boomi at no additional cost. Learn more
*Offer applies only to new customers and requires purchase of a qualifying Boomi subscription.