Data Sorting with Bubble SortΒΆ

Non-Causal Step

This step applies the Bubble Sort algorithm to sort a list of data elements in ascending or descending order.

Input Parameters

  1. A list of data elements

Output Parameters

  1. A list of data elements in ascending order or descending order

Workflow

../../../../_images/workflow67.svg

Algorithm

Bubble Sort

References

  • D. Knuth, The Art of Computer Programming, vol. 3: Sorting and Searching, 3rd Edition, Addison-Wesley, 1997.