Bubble Sort For Numeric Data
Category:Lists, Collections and Arrays
The idea behind the bubble sort algorithm is to scan through a list of items until finding two adjacent items that are out of order, and then switching those items and continuing. The bubble sort algorithm is best for sorting lists that are almost already sorted.
Instructions: Copy the declarations and code below and paste directly into your VB project.