sorted transversing back and forth