this is an algorithm I made up I think this might be identical to odd-even sort but I cant understand how that one works