We show, for various classes of totally ordered structures M = (M, <, . . .), including o-minimal and weakly o-minimal structures, that every definable partial order on a subset of M n extends definably in M to a total order. This extends the result proved in [5] for n = 1 and M o-minimal.