Just a demo for sorting numbers using the bubble sort algorithm
This works by comparing each of two items in the list, if the first one is bigger than the second one it moves the first one into a temporary variable, replaces the first one with the second one and replaces the second one with the variable and repeats until they're all sorted. It's one of 3 commonly used methods of sorting numbers in programming.