Factorization of Triangular Matrix-Functions of an Arbitrary Order