The document proposes a novel sorting algorithm that has a time complexity of O(n) in the best case and O(n2) in the worst case. It compares three elements at a time and rearranges them, similar to bubble sort but moving a smaller element left as well as a larger element right. Experiments show it outperforms bubble sort for larger data sets, with a runtime of 4859.96 seconds for 50,000 elements compared to 10311.56 seconds for bubble sort. The algorithm is analyzed and shown to meet its proposed time complexities.