Bubble Sort

Does any want to write a script to do a bubble sort for me. I have a table called totalTimes and would like to be able to call a bubble sort function to sort totalTimes.

This sounds a like a school assignment?

Instead of asking for the final solution, perhaps it’s better to show what you’ve come up with so far, and perhaps ask about the methodology?
(I’m sure there are final solutions online if you search for them… E.g. at Rosetta code)

1 Like