- Created by: Kyra Dinnage
- Created on: 27-04-12 10:17
This method is used to sort items into ascending or descending order.
To carry out this method, you need to:
1.Start at the beginning and compare the first two items. If they are already in the correct order then leave them. If they are not in order then you need to swap them.
2.Then compare the second and third items. Continue this along the line until you have completed the first pass.
3.Once the first pass has been completed, carry on completing passes until no further swaps are needed.