Jump to content

Sorting algorithms/Bubble sort: Difference between revisions

m
Line 3,018:
Dim sortable() As Integer ' assume the array is populated
sortable.Shuffle() ' sortable is now randomized
Dim swapped As Boolean
Do
Dim swapped As Boolean
Dim index, bound As Integer
bound = sortable.Ubound
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.