Vectorises sorted algebraic equations.