A surety, upon satisfying the obligation of the principal, is entitled to enforce every remedy which the creditor then has against the principal to the extent of reimbursing what he has expended, and also to require all his co-sureties to contribute thereto, without regard to the order of time in which they became such.
(Enacted 1872.)