Bubble sort

Drag and drop the lines into the box on the right. The constructed function should bubble the highest number to the end index and repeat for the second highest to end -1 etc, until the list is sorted.

Indentation matters, and there may be a line / lines that you shouldn't include.