Added: An example of an efficient bubble sorting algorithm.