Factorization in Weighted Wiener Matrix Algebras on Linearly Ordered Abelian Groups