The Alternating BWT: An algorithmic perspective