I sincerely hope you are not planning to use a variant of the dreadful bubble sort!

PS, whats an O2?